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!

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

Preconfigured Deployment

  • 5 replies
  • 5 have this problem
  • 6 views
  • Last reply by cherdeg

more options

Hi,

I've got the order to deploy FF4 to our desktop/notebooks machines asap. Required features are:

  1. Preconfigured and locked connection settings (proxy type 2 with autoconfig URL)
  2. Disabled about:config
  3. Disabled browser updates
  4. Disabled extension / plugin updates

Also we have the requirement to set these settings to new AND already existing profiles.

Modifying "omni.jar" is not an option. I can use commandline switches to install FF4 and copy files into the installation folder. Copying something to %USERPROFILE% is not possible atm.

How to easily implement this?

Please help,

Best Regards Mike

Hi, I've got the order to deploy FF4 to our desktop/notebooks machines asap. Required features are: # Preconfigured and locked connection settings (proxy type 2 with autoconfig URL) # Disabled about:config # Disabled browser updates # Disabled extension / plugin updates Also we have the requirement to set these settings to new AND already existing profiles. Modifying "omni.jar" is not an option. I can use commandline switches to install FF4 and copy files into the installation folder. Copying something to %USERPROFILE% is not possible atm. How to easily implement this? Please help, Best Regards Mike

All Replies (5)

more options

You can use a mozilla.cfg file to lock prefs or specify default values.
You can place a file local-settings.js in the defaults\pref folder to specify using mozilla.cfg.

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref(); // set pref, but allow changes
lockPref();  // lock pref, disallow changes

To prevent users from installing software use:

lockPref("xpinstall.enabled" ,false);

See:


If you need to initialize other files in a new profile then you can create a \defaults\profile\ template folder.

more options

Hi,

thanks so far: doesn't work. Here my files, maybe you see what's wrong...

%PROGRAMFILES%\Mozilla Firefox\defaults\pref\local-settings.js:
//
pref("general.config.filename", "mozilla.cfg");

%PROGRAMFILES%\Mozilla Firefox\mozilla.cfg:
//
pref("network.proxy.share_proxy_settings", true); // use the same proxy settings for all protocols
pref("network.proxy.autoconfig_url"; "http://themis/proxy.pac");
pref("network.proxy.type"; 2);

pref("browser.search.update", false);
pref("app.update.enabled", false);
pref("extensions.update.enabled", false);

lockPref("xpinstall.enabled" ,false);

Proxy-Settings aren't set, XPI installs are still possible...why?

Modified by cherdeg

more options

cor-el...are you still alive?

more options

Sorry, I had missed your previous response.

Are you using a rotate 13 encoding for the mozilla.cfg file?

If not then you need to add this line to the local-settings.js file to override the ROT13.

pref("general.config.obscure_value", 0);
more options

Sorry - I've been on holiday since. I'll test this and report back tomorrow.