This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

when i use CMD to run a silent install of firefox.exe ,how to change the default dir.( /D=D:\** is not work)

  • 2
  • 1 nwere nsogbu anwere nsogbu a
  • 74 views
  • Nzaghachi ikpeazụ nke zyfays

more options

in cmd , i use -ms to silent install,but i don't want to install in c/program files,what am i gonna do?

in cmd , i use -ms to silent install,but i don't want to install in c/program files,what am i gonna do?

Asịsa ahọpụtara

I use an .INI configuration file to specify the installation directory.

https://wiki.mozilla.org/Installer:Command_Line_Arguments has more information about the process.

1. Create a text file called firefox.ini

2. Add the following line and save the file

InstallDirectoryPath=x:\whatever\directory\you\want

3. The command to run a silent install using the INI file you just created would be.

firefox.exe /INI=c:\wherever\firefox.ini

Let me know how you go.

Gụọ azịza a na nghọta 👍 0

All Replies (2)

more options

Asịsa Ahọpụtara

I use an .INI configuration file to specify the installation directory.

https://wiki.mozilla.org/Installer:Command_Line_Arguments has more information about the process.

1. Create a text file called firefox.ini

2. Add the following line and save the file

InstallDirectoryPath=x:\whatever\directory\you\want

3. The command to run a silent install using the INI file you just created would be.

firefox.exe /INI=c:\wherever\firefox.ini

Let me know how you go.

Edeziri site na Tim

more options

problem solved! thx a lot