搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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 人有此问题
  • 214 次查看
  • 最后回复者为 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.

定位到答案原位置 👍 0

所有回复 (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.

由Tim于修改

more options

problem solved! thx a lot