How can I install Firefox12 silently
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)
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.
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
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?