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?
פתרון נבחר
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כל התגובות (2)
פתרון נבחר
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.
השתנתה ב־
problem solved! thx a lot