Ability to uninstall/reinstall/update service and agent

Registered by Jay

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.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Low
Drafter:
None
Direction:
Needs approval
Assignee:
eguillory
Definition:
New
Series goal:
Accepted for 2.x
Implementation:
Unknown
Milestone target:
None

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.