Preconfigured Deployment
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
Всички отговори (5)
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.
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?
Променено на
cor-el...are you still alive?
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);
Sorry - I've been on holiday since. I'll test this and report back tomorrow.