Difference between revisions of "OcsInventory Agent"
From WPKG | Open Source Software Deployment and Distribution
m |
|||
Line 11: | Line 11: | ||
<package id='ocsinventory' name='OcsInventory' revision='1' priority='5' reboot='false' > | <package id='ocsinventory' name='OcsInventory' revision='1' priority='5' reboot='false' > | ||
<check type='file' condition='versiongreaterorequal' | <check type='file' condition='versiongreaterorequal' | ||
− | path='%PROGRAMFILES%\OCS Inventory Agent\OCSInventory.exe' value='4.0. | + | path='%PROGRAMFILES%\OCS Inventory Agent\OCSInventory.exe' value='4.0.3.2' /> |
<install cmd='%SOFTWARE%\ocsinventory\OcsAgentSetup.exe /S /SERVER:your.server.here /NP' /> | <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' /> | ||
+ | <remove cmd='"%PROGRAMFILES%\OCS Inventory Agent\uninst.exe" /S' /> | ||
</package> | </package> | ||
</source> | </source> |
Revision as of 13:36, 16 September 2008
SIlent installer for OcsInventory Agent.
OcsInventory is an application that automatically inventories computer systems, reporting back to a central web-based interface. Agents are available for Microsoft Windows 95/98/Me/NT4/2000/XP/2003, Linux, *BSD, Mac OS X, Sun Solaris and IBM AIX.
The packages.xml definition:
<package id='ocsinventory' name='OcsInventory' revision='1' priority='5' reboot='false' >
<check type='file' condition='versiongreaterorequal'
path='%PROGRAMFILES%\OCS Inventory Agent\OCSInventory.exe' value='4.0.3.2' />
<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' />
<remove cmd='"%PROGRAMFILES%\OCS Inventory Agent\uninst.exe" /S' />
</package>
Be sure to adjust the check version depending on the version you install, and substitute your OCS server for your.server.here.