For quite a long time now the ocs-ng agent version 184.108.40.206 is production running. We encountered a few problems with it (for example not displaying notification message text to user when installing software) and decided to upgrade our agents to new version numbered 220.127.116.11. New version apparently have this fixed, since on multiple test computers the message text was displayed properly. Thus, we have decided to upgrade.
In order to upgrade the agent, you need to:
- create a new package for deployment
- download latest version of ocs-ng agent
- fine tune command to install agent
Assuming you already now how to deploy software using OCS and know what is the difference between “LAUNCH” and “EXECUTE” actions I will just provide essential information.
First, download new version of agent from http://www.ocsinventory-ng.org/en/ and extract OCS-NG-Windows-Agent-Setup.exe file from the archive. Then, zip it again but double check if it is zipped in root of archive, not in directory inside it.
Then fine-tune your install command for upgrade.
Mine is :
OCS-NG-Windows-Agent-Setup.exe /S /UPGRADE /NOSPLASH /NO_SYSTRAY /NOW /SSL=1 /SERVER=https://FQDN/ocsinventory
/S – silent
/UPGRADE – tells the installer that it is an upgrade, so stop OCS service and store success code
/NOSPLASH – do not display OCS splash message
/NO_SYSTRAY – keep OCS hidden from system tray
/NOW – run inventory after installation (sometimes it doesn’t work)
/SSL=1 – Keep SSL turned on
/SERVER – fully qualifed domain name of server with HTTPS prefix
Select Execute action
This should look like: