repository setup
This commit is contained in:
25
app/install_7zip.cmd
Normal file
25
app/install_7zip.cmd
Normal file
@@ -0,0 +1,25 @@
|
||||
:: ------------------------------------------------------------
|
||||
:: 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 VERS=2409
|
||||
set BASEURL=https://7-zip.org/a
|
||||
set PROG=7z%VERS%-x64.msi
|
||||
|
||||
:: --- Lade Installationsdatei herunter
|
||||
curl -kL %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
||||
|
||||
:: --- Silent-Installation des Programms:
|
||||
%SYSTEMDRIVE%\windows\system32\msiexec /i "%PROG%" /passive /l %SAVEPATH%\%PROG%.log
|
||||
|
||||
:: ---- Beispiele ---------------------------------------------
|
||||
:: %PROG% /S
|
||||
:: %PROG% /VERYSILENT /NORESTART /ALLUSERS
|
||||
:: %PROG% /install /quiet /norestart
|
||||
:: %SYSTEMDRIVE%\windows\system32\msiexec /i "%PROG%" /passive /l %SAVEPATH%\%PROG%.log
|
||||
Reference in New Issue
Block a user