Following the many messages I can see on the forum concerning the installation of the Agent FusionInventory, I will explain how I have been doing for several years.
In this article, I’ll explain how to install the FusionInventory agent using a script that runs when the machine starts.
It is possible to install the agent with a login script at the user level if the user is administrator of his post because the script is executed in the context of the user, he needs them. rights to install software.
How to install the FusionInventory agent
Download the FusionInventory agent (s) on the Github repository and place it (s) on the GLPI web server to make it accessible on the web. It is also possible to configure the agent’s URL directly on the Github repository, which often involves a rule in the company’s firewall, since the post is not authenticated when it goes online.
You must now retrieve the installation script fusioninventory-agent-deployment.vbs and adapt it to your configuration.
Search the line (68):
SetupVersion = "2.4"
Put the version of the agent to install, in Example 2.4.2
SetupVersion = "2.4.2"
Search the line (88):
SetupLocation = "https://github.com/fusioninventory/fusioninventory-agent/releases/download/" & SetupVersion
Modify according to the URL of your GLPI server:
SetupLocation = "https://glpi.rdr-it.lan/agents-fusion/"
Search the line (105):
SetupOptions = "/acceptlicense /runnow /server='http://glpi.yourcompany.com/glpi/plugins/fusioninventory/' /S"
Modify the / server = “xx” parameter by adapting the url to your GLPI server.
SetupOptions = "/acceptlicense /runnow /server='http://glpi.rdr-it.lan/plugins/fusioninventory/' /S"
Save file. It is now necessary to create a GPO to execute the script at the start of the post.
This solution allows the installation of the fusion inventory agent on the computers of a domain, there is plenty of method to deploy the agent, if you have a software deployment solution, it is also possible to use it.