Ability to uninstall/reinstall/update service and agent
Ocslogon is able to check version of the agent and is able to reinstall the agent with another version (upgrade)
The matter is that for service you can't uninstall or check version without a hack :
- create a package with an additionnal empty file versionXXX
- add this pack to the client interface
- create a batch file for logon :
if not exist c:/program files/ocs inventory ng/versionXXX (
call c:/program files/ocs inventory ng/uninst.exe
call \\ocslogon.exe /install
The /deploy:XXXX parameter doesn't work for package because of the code in uploadclient.php
It is very needed to be able to reinstall the client service because of the cacert.pem file, this file could break the deployement because you had to change it and ocslogon doesn't update the client because the service is active.