Update von AE übernommen...
This commit is contained in:
+33
-18
@@ -1,18 +1,33 @@
|
||||
:: ------------------------------------------------------------
|
||||
:: 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 VERSION=132.0
|
||||
set BASEURL=https://download-installer.cdn.mozilla.net/pub/firefox/releases/%VERSION%/win64/de
|
||||
set PROG=Firefox%%20Setup%%20%VERSION%.msi
|
||||
|
||||
:: --- Lade Installationsdatei herunter
|
||||
curl -kL "%BASEURL%" -o %PROG%
|
||||
|
||||
%SYSTEMDRIVE%\windows\system32\msiexec /i "%PROG%" /passive /l %SAVEPATH%\%PROG%.log TASKBAR_SHORTCUT=true DESKTOP_SHORTCUT=false
|
||||
:: ------------------------------------------------------------
|
||||
:: 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
|
||||
:: https://download-installer.cdn.mozilla.net/pub/firefox/releases/144.0/win64/de/Firefox%20Setup%20144.0.msi
|
||||
set VERS=144.0
|
||||
set BASEURL=https://download-installer.cdn.mozilla.net/pub/firefox/releases/%VERS%/win64/de/
|
||||
set PROG=Firefox%20Setup%20%VERS%.msi
|
||||
|
||||
:: --- Lade Datei herunter
|
||||
echo Starte Download.
|
||||
curl -kLSsf "%BASEURL%" -o %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%" /passive /l %SAVEPATH%\%PROG%.log TASKBAR_SHORTCUT=true DESKTOP_SHORTCUT=false
|
||||
if %ERRORLEVEL% EQU 0 (echo Installation OK! ) else ( echo Fehler %ERRORLEVEL% ist aufgetreten!)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user