20 lines
787 B
Batchfile
20 lines
787 B
Batchfile
:: ------------------------------------------------------------
|
|
:: Installationsroutine
|
|
:: ------------------------------------------------------------
|
|
|
|
:: --- Option: Download in ein temporäres Verzeichnis
|
|
:: --- Kann für z.B. für GLPI abgeschaltet werden
|
|
set SAVEPATH=%SYSTEMDRIVE%\TEMP\install
|
|
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
|
|
|
|
:: --- Download Basis-URL, Dateiname und TEMP-Verzeichnis
|
|
set BASEURL=https://support.ostrachhelp.de/OstrachHELP/binaries/raw/branch/main/win
|
|
set PROG=SysinternalsSuite_sep2025.zip
|
|
|
|
:: --- Lade Installationsdatei herunter
|
|
curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
|
|
|
:: --- Silent-Installation des Programms:
|
|
set PROGPATH=%SYSTEMDRIVE%\SETUP\Sysinternals
|
|
powershell.exe -command "Expand-Archive -Force -Path %PROG% -DestinationPath %PROGPATH% "
|