Changes

OcsInventory Agent

754 bytes added, 14:06, 1 December 2009
adding customized ocspackage.exe and updating some infos
SIlent installer == OcsInventory-ng Windows Agent == Silent install for [http://www.ocsinventory-ng.org/ OcsInventory-ng] Agent. *working link: http[https://wwwlaunchpad.net/ocsinventory-ng.org/index.php?page=1windows-01 (Nov 26, 2008)agent Agent for Windows].
OcsInventory is an application that automatically inventories computer systems,
and IBM AIX.
The packages=== Using the standard OcsAgentSetup.xml definition:exe ===
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
 
<packages>
<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.36.21' />
<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>
</packages>
</source>
Be sure to adjust the check version depending on the version you install, and substitute your OCS server for ''your.server.here''.
 
=== Using a customized ocspackage.exe ===
 
Before all, create your customized ocspackage.exe following the [http://wiki.ocsinventory-ng.org/index.php/Documentation:Agent upstream documentation].
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
 
<packages>
<package
id="ocsinventoryagent"
name="OCS Inventory Agent"
revision="4061"
priority="60"
reboot="false">
 
<check type="uninstall" condition="exists" path="OCS Inventory Agent 4.0.6.1" />
<install cmd='%SOFTWARE%\ocsagent\ocspackage.exe' />
<upgrade cmd='%SOFTWARE%\ocsagent\ocspackage.exe' />
</package>
</packages>
</source>
 
[[Category: Silent Installers]]
43
edits