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.

ابحث في الدعم

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 has this problem
  • 74 views
  • آخر ردّ كتبه 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?

الحل المُختار

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.

Read this answer in context 👍 0

All Replies (2)

more options

الحل المُختار

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.

Modified by Tim

more options

problem solved! thx a lot