app/install_firefox.cmd aktualisiert
This commit is contained in:
@@ -2,19 +2,17 @@
|
|||||||
:: Installationsroutine
|
:: Installationsroutine
|
||||||
:: ------------------------------------------------------------
|
:: ------------------------------------------------------------
|
||||||
|
|
||||||
:: https://download-installer.cdn.mozilla.net/pub/firefox/releases/120.0.1/win64/de/Firefox%20Setup%20120.0.1.msi
|
|
||||||
|
|
||||||
:: --- Option: Download in ein temporäres Verzeichnis
|
:: --- Option: Download in ein temporäres Verzeichnis
|
||||||
:: --- Kann für z.B. für GLPI abgeschaltet werden
|
:: --- Kann für z.B. für GLPI abgeschaltet werden
|
||||||
set SAVEPATH=%SYSTEMDRIVE%\TEMP\install
|
set SAVEPATH=%SYSTEMDRIVE%\TEMP\install
|
||||||
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
|
MKDIR %SAVEPATH% 2> nul & CD /D %SAVEPATH%
|
||||||
|
|
||||||
:: --- Download Basis-URL, Dateiname und TEMP-Verzeichnis
|
:: --- Download Basis-URL, Dateiname und TEMP-Verzeichnis
|
||||||
set BASEURL=https://download.mozilla.org/?product=firefox-stub&os=win64&lang=de
|
set BASEURL="https://download.mozilla.org/?product=firefox-stub&os=win64&lang=de"
|
||||||
set PROG=FirefoxSetup.exe
|
set PROG=FirefoxSetup.exe
|
||||||
|
|
||||||
:: --- Lade Installationsdatei herunter
|
:: --- Lade Installationsdatei herunter
|
||||||
curl -kL "%BASEURL%" -o %SAVEPATH%\%PROG%
|
curl -kLs %BASEURL% -o %SAVEPATH%\%PROG%
|
||||||
|
|
||||||
:: --- Silent-Installation des Programms:
|
:: --- Silent-Installation des Programms:
|
||||||
(
|
(
|
||||||
@@ -26,4 +24,3 @@ echo RegisterDefaultAgent=true
|
|||||||
) > FirefoxInstaller_setup.ini
|
) > FirefoxInstaller_setup.ini
|
||||||
|
|
||||||
%PROG% /INI=FirefoxInstaller_setup.ini
|
%PROG% /INI=FirefoxInstaller_setup.ini
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user