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 replies
  • 1 has this problem
  • 74 views
  • Last reply by 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?

Chosen solution

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

Chosen Solution

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