You are not logged in.
Pages: 1
Hello,
I have created a batch script, which should automatically install GLPI-Agent 1.5 x64, launch GLPI Agent Monitor x64 and force Inventory on the device it is launched on.
Here is the batch script i made:
@echo off
echo Checking for an existing installation of GLPI Agent
timeout /t 5 /nobreak
IF EXIST "C:\Program Files\GLPI-Agent" goto _End
msiexec.exe /i GLPI-Agent-1.5-x64.msi /quiet TAG="TAG" SERVER="SERVER" RUNNOW=1
start GLPI-AgentMonitor-x64.exe
echo GLPI Agent Monitor is starting...
timeout /t 20 /nobreak
cd /d C:\Program Files\GLPI-Agent
call glpi-inventory.bat
exit glpi-inventory.bat
_End
exit
Ive tested it on multiple Notebooks and it worked. Today i tested it on a server and i got an error message which stated: "Windows cannot find "GLPI-AgentMonitor-x64.exe". Make sure you typed the name correctly, and then try again. " The batchfile, GLPI-Agent-1.5-x64.msi and GLPI-AgentMonitor-x64.exe are all in the same file when executing the batch file.
I did some searching and added the following to the batch:
msiexec.exe /i GLPI-Agent-1.5-x64.msi /quiet ADD_FIREWALL_EXCEPTION=1 RUNNOW=1 TAG="TAG" SERVER="server" NO_SSL_CHECK=1 ADD_FIREWALL_EXCEPTION=1 DEBUG=1 RUNNOW=1
But that did not help.
Does anyone have an explanation or advice to fix this issue?
Offline
Pages: 1