Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

搜索 | 用户支持

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

详细了解

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?