Difference between revisions of "FusionInventory Agent"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 21: Line 21:
 
priority="0">
 
priority="0">
  
<variable name="version" value="2.1.6-3" />
+
<variable name="version" value="2.2.5-1" />
 
<variable name="tag" value="tagname" />
 
<variable name="tag" value="tagname" />
 
<variable name="serverlist" value="https://ocsinventory-ng/ocsinventory" />
 
<variable name="serverlist" value="https://ocsinventory-ng/ocsinventory" />
  
<check type="uninstall" condition="exists" path="FusionInventory Agent" />
+
<check condition="versiongreaterorequal" path="FusionInventory Agent" value="%version%" />
 
          
 
          
 
         <install cmd='%SOFTWARE%\fusioninventory\fusioninventory-agent_windows-i386_%version%.exe /S /debug /runnow /tag=%tag% /server=%serverlist%' />   
 
         <install cmd='%SOFTWARE%\fusioninventory\fusioninventory-agent_windows-i386_%version%.exe /S /debug /runnow /tag=%tag% /server=%serverlist%' />   

Revision as of 13:57, 24 August 2012

FusionInventory Agent

The FusionInventory Agent is a tool for hardware and software inventory and much more, created by the FusionInventory project. It is the successor of the OCSInventory Agent, project from which it has forked end evolved.

You can download the agent from the download page.

It has a lot of Command line parameters. Only few of them are used here.


<?xml version="1.0" encoding="UTF-8"?>

<packages>

<package
	id="fusioninventory"
	name="FusionInventory Agent"
	revision="%version%"
	reboot="false"
	priority="0">

	<variable name="version" value="2.2.5-1" />
	<variable name="tag" value="tagname" />
	<variable name="serverlist" value="https://ocsinventory-ng/ocsinventory" />

	<check condition="versiongreaterorequal" path="FusionInventory Agent" value="%version%" />
        
        <install cmd='%SOFTWARE%\fusioninventory\fusioninventory-agent_windows-i386_%version%.exe /S /debug /runnow /tag=%tag% /server=%serverlist%' />  
      
        <upgrade cmd='%SOFTWARE%\fusioninventory\fusioninventory-agent_windows-i386_%version%.exe /S /debug /runnow /tag=%tag% /server=%serverlist%' />

        <remove cmd='"%PROGRAMFILES%\FusionInventory-Agent\uninstFI.exe" /S' />
	
</package>								      
</packages>