Difference between revisions of "FusionInventory Agent"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Added Remove command.)
m
Line 27: Line 27:
 
<check type="uninstall" condition="exists" path="FusionInventory Agent" />
 
<check type="uninstall" condition="exists" path="FusionInventory Agent" />
 
          
 
          
         <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%' />
            <exit code="0" />
+
        </install>    
+
 
        
 
        
 
         <upgrade 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' />
 
         <remove cmd='"%PROGRAMFILES%\FusionInventory-Agent\uninstFI.exe" /S' />
        <remove cmd='ping 127.0.0.1 -n 20>NUL' />
 
 
 
 
</package>        
 
</package>        

Revision as of 08:18, 3 November 2010

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.1.6-3" />
	<variable name="tag" value="tagname" />
	<variable name="serverlist" value="https://ocsinventory-ng/ocsinventory" />

	<check type="uninstall" condition="exists" path="FusionInventory Agent" />
        
        <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>