when i use CMD to run a silent install of firefox.exe ,how to change the default dir.( /D=D:\** is not work)
in cmd , i use -ms to silent install,but i don't want to install in c/program files,what am i gonna do?
Solution choisie
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.
Lire cette réponse dans son contexte 👍 0Toutes les réponses (2)
Solution choisie
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.
Modifié le
problem solved! thx a lot