Difference between revisions of "FusionInventory Agent"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(FusionInventory Agent: missing check type)
(FusionInventory Agent)
Line 36: Line 36:
 
</packages>
 
</packages>
 
</source>
 
</source>
 +
 +
Version 2.3.X
 +
 +
<package
 +
id="fusioninventory"
 +
name="FusionInventory Agent"
 +
revision="%version%"
 +
reboot="false"
 +
priority="0">
 +
 +
<variable name="version" value="2.3.4" />
 +
<variable name="serverlist" value="http://172.16.1.72/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>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]
 
[[Category:NSIS]]
 
[[Category:NSIS]]

Revision as of 14:23, 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

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

<variable name="version" value="2.3.4" /> <variable name="serverlist" value="http://172.16.1.72/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>