2025-08-26 09:48:25 +02:00
|
|
|
:: ------------------------------------------------------------
|
|
|
|
:: 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
|
2025-08-26 15:48:58 +02:00
|
|
|
set VERS=2.2.2
|
2025-08-26 09:48:25 +02:00
|
|
|
set BASEURL=https://github.com/windirstat/windirstat/releases/download/release/v%VERS%
|
|
|
|
set PROG=WinDirStat-x64.msi
|
|
|
|
|
|
|
|
:: --- Lade Installationsdatei herunter
|
|
|
|
curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
|
|
|
|
|
|
|
:: --- Silent-Installation des Programms:
|
|
|
|
%SYSTEMDRIVE%\windows\system32\msiexec /i "%PROG%" /passive /l %SAVEPATH%\%PROG%.log
|