We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

Turn off automatic updater prior to installing Firefox.

  • 3 odgovori
  • 2 imata to težavo
  • 4 ogledi
  • Zadnji odgovor od cor-el

more options

I am about to deploy firefox to about 100 XP machines. I would like to turn off the Firefox automatic updater function prior to the install to the machine. I need to control what version of Firefox each user has.

I am about to deploy firefox to about 100 XP machines. I would like to turn off the Firefox automatic updater function prior to the install to the machine. I need to control what version of Firefox each user has.

Vsi odgovori (3)

more options

You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new 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

Let's see If I understand your reply; 1st create a local-settings.js file and put it in the Mozilla firefox\defaults\pref folder.

It would have the following settings;
pref ("general.config.filename", "mozilla.cfg");
pref ("general.config.obscure_value", 0);

2nd create create a mozilla.cfg file and put it in the root folder c:\program files\Mozilla Firefox In this file what value tells the auto update to turn off?

defaultPref () ; // ?

pref (); // set pref, but allow changes in current sesson

lockPref () ; // lock pref, disallow changes

So once this is done save both files to there respective locations and restart Firefox?

Then I would need to create a batch file that would copy these files to the correct location?

more options

The mozilla.cfg file needs to start with a line that only contains a comment (//)

You can copy lines from prefs.js to the mozilla.cfg file and change the function name to what you want to use the pref for.

//
lock_pref("app.update.auto", false);
lock_pref("app.update.enabled", false);