Files
setup_windows_2/app/install_firefox.cmd

30 lines
972 B
Batchfile
Raw Normal View History

2025-08-26 09:48:25 +02:00
:: ------------------------------------------------------------
:: 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
:: --- 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://download.mozilla.org/?product=firefox-stub&os=win64&lang=de
set PROG=FirefoxSetup.exe
:: --- Lade Installationsdatei herunter
curl -kL "%BASEURL%" -o %SAVEPATH%\%PROG%
:: --- Silent-Installation des Programms:
(
echo [Install]
echo TaskbarShortcut=true
echo DesktopShortcut=true
echo StartMenuShortcuts=true
echo RegisterDefaultAgent=true
) > FirefoxInstaller_setup.ini
%PROG% /INI=FirefoxInstaller_setup.ini