repo size reduction
This commit is contained in:
20
admin/install_glpi-agent.cmd
Normal file
20
admin/install_glpi-agent.cmd
Normal file
@@ -0,0 +1,20 @@
|
||||
rem ------------------------------------------------------------
|
||||
rem Installationsroutine
|
||||
rem ------------------------------------------------------------
|
||||
|
||||
rem --- Option: Download in ein temporäres Verzeichnis
|
||||
rem --- Kann für z.B. für GLPI abgeschaltet werden
|
||||
set SAVEPATH=%SYSTEMDRIVE%\TEMP\install
|
||||
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
|
||||
|
||||
rem --- Download Basis-URL, Dateiname und TEMP-Verzeichnis
|
||||
set VERS=1.11
|
||||
set BASEURL=https://github.com/glpi-project/glpi-agent/releases/download/%VERS%
|
||||
set PROG=GLPI-Agent-%VERS%-x64.msi
|
||||
|
||||
rem --- Lade Installationsdatei herunter
|
||||
curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
||||
|
||||
rem --- Silent-Installation des Programms:
|
||||
%SYSTEMDRIVE%\windows\system32\msiexec /i "%PROG%" /passive /l %SAVEPATH%\%PROG%.log
|
||||
|
Reference in New Issue
Block a user