Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More
Solved Archived

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

Carloloy

@ECHO. @ECHO Installing Firefox @start /wait "Firefox Setup Stub 40.0.3.exe" -ms

@ECHO. @ECHO Installing Firefox @start /wait "Firefox Setup Stub 40.0.3.exe" -ms
Read this answer in context

Chosen Solution

Cor-el It Works! thank you for help!

@Start /wait "Firefox" "C:\TMP\Firefox Setup 40.0.3.exe" -ms

All 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

Chosen Solution

Cor-el It Works! thank you for help!

@Start /wait "Firefox" "C:\TMP\Firefox Setup 40.0.3.exe" -ms

You're welcome.