搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How can I install Firefox12 silently

more options

I can get the install to run via the -ms switch, but I need to copy the prefs.js file over to the randomly generated "C:\Users\xxxxx\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxx.default" folder. Is there an easier way or do I have to figure out how to specify a wildcard in the command line to make the file copy to whatever the folder name is?

I can get the install to run via the -ms switch, but I need to copy the prefs.js file over to the randomly generated "C:\Users\xxxxx\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxx.default" folder. Is there an easier way or do I have to figure out how to specify a wildcard in the command line to make the file copy to whatever the folder name is?

所有回覆 (3)

more options

Hello firefoxpackager,

I am sorry to hear that you are experiencing issues with the Firefox updating process and would like to apologize for the long waiting time.

You can edit your Firefox update configurations by following the instructions in the [configure updates] support article. If you need to backup your profile, follow the instructions in the backing up your information support article, and refer to the backup bookmarks to backup and restore your bookmarks.

Thank you for your valuable time and your great patience. Please let me know how it goes and mark this answer as solution if you found it helpful.

more options

Another way is to use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.

Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift

See:

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes
more options

Thanks for the responses. I ended up going the Mozilla.cfg route but now I can't find a list of settings I can add to the file. Is there an easy way I can use everything in my Prefs.js file in my Mozilla.cfg file?