Technical Note: ZoneFox 3 - Can Windows agents be deployed/installed automatically
Can Windows agents be deployed/installed automatically
Scope
Installation and Administration
Solution
Problem
We want to be able to rollout ZoneFox agents automatically to all our PCs, can the installation be scripted so it doesn't need any user interaction?
Solution
Yes, run the installer using the msiexec.exe Windows Installer command. Ensure you pass the options:
/norestart
/qn
and values for the following required parameters:
CS_ADDRESS
CS_ADDRESS_PORT
CS_ADDRESS_SECONDARY
CS_ADDRESS_PORT_SECONDARY
For example:
msiexec.exe /i cms.msi /norestart /qn CS_ADDRESS=https://cs.zonefox.example.com CS_ADDRESS_PORT=8080 CS_ADDRESS_SECONDARY=https://cs.zonefox.example.com CS_ADDRESS_PORT_SECONDARY=8080
If required, the following optional parameters can be specified:
INSTALLFOLDER=T:ZF - to specify an alternate installation folder, e.g T:ZF. By default, agent will be installed to "C:Program Files (x86)Inquisitive SystemsCollectorManager"
ERROR_REPORTING=1 - to switch on agent error reporting which will create and upload an error report to ZoneFox
OFFLINE_DB_SIZE_MB=1024 - to limit size of the offline database to 1 GB. By default offline database is is limited to 10240 MB/L*vx "install.log" - to write MSI Installer verbose output log to your chosen file
To uninstall the agent, the following command can be used:
msiexec.exe /x cms.msi /norestart /qn /L*vx "uninstall.log"
