Update von AE übernommen...
This commit is contained in:
+24
-19
@@ -1,19 +1,24 @@
|
||||
:: ------------------------------------------------------------
|
||||
:: 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=VeraCrypt_Setup_x64_1.26.7.msi
|
||||
|
||||
:: --- Lade Installationsdatei herunter
|
||||
curl -kL %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
||||
|
||||
:: --- Silent-Installation des Programms:
|
||||
%SYSTEMDRIVE%\windows\system32\msiexec /i "%PROG%" ACCEPTLICENSE=YES /passive /l %SAVEPATH%\%PROG%.log
|
||||
|
||||
:: ------------------------------------------------------------
|
||||
:: 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% 2> nul & CD /D %SAVEPATH%
|
||||
|
||||
:: --- Download Basis-URL, Dateiname und TEMP-Verzeichnis
|
||||
set BASEURL=https://support.ostrachhelp.de/OstrachHELP/binaries/raw/branch/main/win
|
||||
set PROG=VeraCrypt_Setup_x64_1.26.7.msi
|
||||
|
||||
:: --- Lade Datei herunter
|
||||
echo Starte Download Version %VERS%.
|
||||
curl -kLSsf %BASEURL%/%PROG% -o %SAVEPATH%\%PROG%
|
||||
if %ERRORLEVEL% EQU 0 (echo Download OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
|
||||
|
||||
:: --- Silent-Installation des Programms:
|
||||
echo Starte Installation.
|
||||
%SYSTEMDRIVE%\windows\system32\msiexec /i "%PROG%" ACCEPTLICENSE=YES /passive /l %SAVEPATH%\%PROG%.log
|
||||
if %ERRORLEVEL% EQU 0 (echo Installation OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user