Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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?

All Replies (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?