Changes

OcsInventory Agent

41 bytes added, 09:04, 30 January 2014
[2.x series] Using the standard installer: 2.05 ; /NO_SYSTRAY /NOSPLASH
<variable name="OCS_SERVER" value="https://<your server's URL here>/ocsinventory" />
<variable name="version" value="2.0.0.205" />
<check type="logical" condition="or">
path='%PROGRAMFILES(x86)%\OCS Inventory Agent\OCSInventory.exe' value="%version%" />
</check>
<install cmd="%SOFTWARE%\ocsinventory\OCS-NG-Windows-Agent-Setup.exe /S /SERVER=%OCS_SERVER%/NO_SYSTRAY /NOSPLASH" />
<install os='5\.[1-9]\.\d{4}'
cmd='%comspec% /c copy %SOFTWARE%\ocsinventory\cacert.pem "%allusersprofile%\Application Data\OCS Inventory NG\Agent"' />
<install os='6\.\d\.\d{4}'
cmd='%comspec% /c copy %SOFTWARE%\ocsinventory\cacert.pem "%PROGRAMDATA%\OCS Inventory NG\Agent"' />
<upgrade cmd="%SOFTWARE%\ocsinventory\OCS-NG-Windows-Agent-Setup.exe /S /SERVER=%OCS_SERVER% /UPGRADE/NO_SYSTRAY /NOSPLASH" />
<remove cmd='"%PROGRAMFILES%\OCS Inventory Agent\uninst.exe" /S' />
</package>
15
edits