Software Distribution Package Assistance Needed

I need to deploy the Qualys Cloud Agent, but I’ve never used this feature of BF and need assistance - like baby steps if possible…

I’ve created the basic package and attached the .exe for the agent.
The cmd line required for install is a one liner like this -
QualysCloudAgent.exe CustomerId={xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx} ActivationId={xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} _
_WebServiceUri=<platform_url>/CloudAgent/

I was provided these instructions but right off, I notice I do not have the same Manage Tasks tab, but Create Default Task option - BigFix Smart Software Deployments

This is what my Manage Software Distribution console page looks like - 10.0.3.66 Console version -
Thank you in advance for your help…

I don’t have the time to help with doing the package part, but I can quickly offer my ActionScript for the installation part on Windows. This runs the install silently, then pauses and configures the proxy to not look at system proxies and to just go out the gateway. This reduces lines in the Qualys log file, as normally every attempt it tries to identify proxies before trying gateway.

waithidden __Download\QualysCloudAgent.exe CustomerId={{Numbers-Numbers-Numbers-MoreNumbers} ActivationId={{Numbers-Numbers-Numbers-MoreNumbers} WebServiceUri=https://qagpublic.qg2.apps.qualys.com/CloudAgent/

pause while {exists running application “QualysCloudAgent.exe”}

waithidden “C:\Program Files\Qualys\QualysAgent\QualysProxy.exe” /d
waithidden “C:\Program Files\Qualys\QualysAgent\QualysProxy.exe” /h off
waithidden “C:\Program Files\Qualys\QualysAgent\QualysProxy.exe” /w off

In other environments that require proxy, I do this:
waithidden “C:\Program Files\Qualys\QualysAgent\QualysProxy.exe” /u http://proxy.domain.com:80

if {(exists service “QualysAgent”)}
WAITHIDDEN CMD.EXE /C NET STOP "QualysAgent"
WAITHIDDEN CMD.EXE /C NET START "QualysAgent"
endif

2 Likes

How could I use this with prefetch vs URL?

Software Distribution has it’s own thing. It handles that when you create a Fixlet.

I luckily only have ~10 softwares that I deploy, so I have been doing some of it “manually” using the Windows Software Distribution Wizard (this is very different then the Software Distribution feature part of LifeCycle). This is what I did for an older version. I think this was like 4.0.8 or something. Current one is like 4.1.6 or something. Below is my full (redacted) fixlet for installing Qualys Agent on Windows.

prefetch de74c1a8dc23b3c61d38481eb30f4bba55752cc0 sha1:de74c1a8dc23b3c61d38481eb30f4bba55752cc0 size:9419225 http://bigfixserver.domain.com:52311/Uploads/de74c1a8dc23b3c61d38481eb30f4bba55752cc0/QualysCloudAgent.exe.tmp sha256:cd09a8a5ffb370131dfae7417b55ed9a8ba1951634b2703149c4dd4a510722b5
extract de74c1a8dc23b3c61d38481eb30f4bba55752cc0

waithidden __Download\QualysCloudAgent.exe CustomerId={{Numbers-Numbers-Numbers-MoreNumbers} ActivationId={{Numbers-Numbers-Numbers-MoreNumbers} WebServiceUri=https://qagpublic.qg2.apps.qualys.com/CloudAgent/
pause while {exists running application “QualysCloudAgent.exe”}

waithidden “C:\Program Files\Qualys\QualysAgent\QualysProxy.exe” /d
waithidden “C:\Program Files\Qualys\QualysAgent\QualysProxy.exe” /h off
waithidden “C:\Program Files\Qualys\QualysAgent\QualysProxy.exe” /w off

1 Like