From 6144946c19b182d25bc922eb66ea43fab7108fbc Mon Sep 17 00:00:00 2001 From: Peter Reichart Date: Fri, 10 Jan 2025 06:22:07 +0000 Subject: [PATCH] =?UTF-8?q?standardsoftware/install=5Fwindirstat.cmd=20hin?= =?UTF-8?q?zugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- standardsoftware/install_windirstat.cmd | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 standardsoftware/install_windirstat.cmd diff --git a/standardsoftware/install_windirstat.cmd b/standardsoftware/install_windirstat.cmd new file mode 100644 index 0000000..8d2c108 --- /dev/null +++ b/standardsoftware/install_windirstat.cmd @@ -0,0 +1,34 @@ +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=2.2.0 +set BASEURL=https://github.com/windirstat/windirstat/releases/download/release/v%VERS% +set PROG=WinDirStat-x64.msi + +rem --- Lade Installationsdatei herunter +curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG% + +rem --- Silent-Installation des Programms: +%PROG% /S + + +rem --- Installiere C++ Redistibutable +rem set BASEURL=https://support.ostrachhelp.de/OstrachHELP/setup_windows/raw/branch/main/essentiell +rem set PROG=VC_redist.x64.exe +rem curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG% & %PROG% /Q + +rem --- Entpacket .ZIP +rem powershell.exe -command "Expand-Archive -Force -Path %PROG% -DestinationPath . " + +rem ---- Beispiele --------------------------------------------- +rem %PROG% /S +rem %PROG% /VERYSILENT /NORESTART /ALLUSERS +rem %PROG% /install /quiet /norestart +%SYSTEMDRIVE%\windows\system32\msiexec /i "%PROG%" /passive /l %SAVEPATH%\%PROG%.log