Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Preconfigured Deployment

  • 5 respostas
  • 5 têm este problema
  • 89 visualizações
  • Última resposta de cherdeg
  • Arquivado

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

Todas as respostas (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?

Alterado por cherdeg em

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.