Difference between revisions of "FusionInventory Agent"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(FusionInventory Agent)
(FusionInventory Agent)
Line 37: Line 37:
 
</source>
 
</source>
  
Version 2.3.X  
+
Version 2.3.X of fusioninventory-agent
  
 
<source lang="xml">
 
<source lang="xml">
Line 48: Line 48:
 
   
 
   
 
<variable name="version" value="2.3.4" />
 
<variable name="version" value="2.3.4" />
<variable name="serverlist" value="http://172.16.1.72/glpi/plugins/fusioninventory/" />
+
<variable name="serverlist" value="http://GLPI-SERVER/glpi/plugins/fusioninventory/" />
 
   
 
   
 
<check type="uninstall" condition="versiongreaterorequal" path="FusionInventory Agent" value="%version%" />
 
<check type="uninstall" condition="versiongreaterorequal" path="FusionInventory Agent" value="%version%" />

Revision as of 14:25, 6 December 2013

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 type="uninstall" 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>

Version 2.3.X of fusioninventory-agent

<package
	id="fusioninventory"
	name="FusionInventory Agent"
	revision="%version%"
	reboot="false"
	priority="0">
 
	<variable name="version" value="2.3.4" />
	<variable name="serverlist" value="http://GLPI-SERVER/glpi/plugins/fusioninventory/" />
 
	<check type="uninstall" condition="versiongreaterorequal" path="FusionInventory Agent" value="%version%" />
 
        <install cmd='%SOFTWARE%\fusioninventory\fusioninventory-agent_windows-%PROCESSOR_ARCHITECTURE%_%version%.exe /acceptlicense /execmode=Service /S /debug=0 /runnow /server="%serverlist%"' />  
 
        <upgrade cmd='%SOFTWARE%\fusioninventory\fusioninventory-agent_windows-%PROCESSOR_ARCHITECTURE%_%version%.exe /acceptlicense /execmode=Service /S /debug=0 /runnow /server="%serverlist%"' />
 
        <remove cmd='"%PROGRAMFILES%\FusionInventory-Agent\uninstFI.exe" /S' />
 
</package>