搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Preconfigured Deployment

  • 5 个回答
  • 5 人有此问题
  • 6 次查看
  • 最后回复者为 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

所有回复 (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?

由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.