I tried to install firefox.exe silently, i used this command. @start /wait "Firefox Setup Stub 40.0.3.exe" -ms but i encounter error cannot found -ms
@ECHO. @ECHO Installing Firefox @start /wait "Firefox Setup Stub 40.0.3.exe" -ms
Solution choisie
Cor-el It Works! thank you for help!
@Start /wait "Firefox" "C:\TMP\Firefox Setup 40.0.3.exe" -ms
Lire cette réponse dans son contexte 👍 0Toutes les réponses (6)
Try using the full offline installer when installing Firefox via command line. https://www.mozilla.org/en-US/firefox/all/
You may have to specify the full path to the Firefox installer in case you do not start bat/cmd file in the folder where you saved the file.
This is the command line I use. the-edmeister I already downloaded the offline installer but still the same.
@ECHO. @ECHO Installing Firefox @start /wait "C:\TMP\Firefox Setup 40.0.3.exe" -ms
I also used this one but also error "the installation package cannot be opened" @echo off
Echo Installing Firefox
msiexec.exe /i "C:\TMP\Firefox Setup 40.0.3.exe"
Pause
End
You need to add an extra "" as the second parameter is the command (the first is the title).
@ECHO. @ECHO Installing Firefox @start /wait "" "C:\TMP\Firefox Setup 40.0.3.exe" -ms
Solution choisie
Cor-el It Works! thank you for help!
@Start /wait "Firefox" "C:\TMP\Firefox Setup 40.0.3.exe" -ms
You're welcome.