![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
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
Izabrano rješenje
Cor-el It Works! thank you for help!
@Start /wait "Firefox" "C:\TMP\Firefox Setup 40.0.3.exe" -ms
Pročitajte ovaj odgovor sa objašnjenjem 👍 0All Replies (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
Odabrano rješenje
Cor-el It Works! thank you for help!
@Start /wait "Firefox" "C:\TMP\Firefox Setup 40.0.3.exe" -ms
You're welcome.