Difference between revisions of "FusionInventory Agent"
(→FusionInventory Agent) |
|||
Line 47: | Line 47: | ||
priority="0"> | priority="0"> | ||
− | <variable name="version" value="2.3. | + | <variable name="version" value="2.3.5" /> |
<variable name="serverlist" value="http://GLPI-SERVER/glpi/plugins/fusioninventory/" /> | <variable name="serverlist" value="http://GLPI-SERVER/glpi/plugins/fusioninventory/" /> | ||
Line 61: | Line 61: | ||
</source> | </source> | ||
+ | Allow remote access to the FusionInventory Agent | ||
+ | |||
+ | The current Version (2.3.5) includes a installer Option to open the remote port (62354) for the Agent in the Windows Firewall, but its not functional yet. If you want to send push requests to the Agent (Inventory, WakeOnLan, network-discovery) you have to open this Port manually or with a small WPKG package. (This works for Windows 7+) | ||
+ | |||
+ | If you havent speciefied otherwise in the Agent installer only the fusioninventory server is allowed to access the Agent-webpage. | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <package | ||
+ | id="fi-agent-port" | ||
+ | name="FusionInventory Agent - Remote Port" | ||
+ | reboot="false" | ||
+ | priority="100" | ||
+ | execute="once" > | ||
+ | |||
+ | <install cmd='netsh advfirewall firewall add rule name="FusionInventory Agent" dir=in action=allow protocol=TCP localport=62354' /> | ||
+ | <remove cmd='netsh advfirewall firewall delete rule name="FusionInventory Agent" protocol=tcp localport=62354' /> | ||
+ | |||
+ | </package> | ||
+ | </source> | ||
+ | |||
+ | Include this package as dependency in the FusionInventory Agent package. | ||
+ | <source lang="xml"> | ||
+ | <depends package-id="fi-agent-port" /> | ||
+ | </source> | ||
[[category:Silent Installers]] | [[category:Silent Installers]] | ||
[[Category:NSIS]] | [[Category:NSIS]] |
Revision as of 09:32, 18 February 2014
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.5" />
<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>
Allow remote access to the FusionInventory Agent
The current Version (2.3.5) includes a installer Option to open the remote port (62354) for the Agent in the Windows Firewall, but its not functional yet. If you want to send push requests to the Agent (Inventory, WakeOnLan, network-discovery) you have to open this Port manually or with a small WPKG package. (This works for Windows 7+)
If you havent speciefied otherwise in the Agent installer only the fusioninventory server is allowed to access the Agent-webpage.
<package
id="fi-agent-port"
name="FusionInventory Agent - Remote Port"
reboot="false"
priority="100"
execute="once" >
<install cmd='netsh advfirewall firewall add rule name="FusionInventory Agent" dir=in action=allow protocol=TCP localport=62354' />
<remove cmd='netsh advfirewall firewall delete rule name="FusionInventory Agent" protocol=tcp localport=62354' />
</package>
Include this package as dependency in the FusionInventory Agent package.
<depends package-id="fi-agent-port" />