Changes

OcsInventory Agent

209 bytes added, 23:42, 23 March 2011
updated version check to work in the event a 32-bit agent is installed on Win64
<packages>
<package id='ocsinventory' name='OcsInventory' revision='1' priority='5' reboot='false' >
<check type="logical" condition="or"> <check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\OCS Inventory Agent\OCSInventory.exe' value='4.0.6.1' /> <check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES(x86)%\OCS Inventory Agent\OCSInventory.exe' value='4.0.6.1' /> </check>
<install cmd='%SOFTWARE%\ocsinventory\OcsAgentSetup.exe /S /SERVER:your.server.here /NP' />
<upgrade cmd='%SOFTWARE%\ocsinventory\OcsAgentSetup.exe /S /SERVER:your.server.here /NP /UPGRADE' />
Anonymous user