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

Firefox 4 Deployment with customized user settings?

more options

Hi folks,

I want to deploy FF 4.0 with customized user settings, but where is the "localized" folder for my prefs.js file? In FF 3.6.x we've extracted the setup.exe file and with sources we deployed our customized firefox. Now in FF 4.0 there are some folder missing in the new sources. Are there any documents which explain the deployment of FF 4.0? thanks a lot

Chosen solution

You can still create a folder /defaults/profile and place files in that folder to have them in a new default profile. Folders that have no content are no longer present in the Firefox 4 RC version, but some are still being read and processed.

Read this answer in context 👍 2

All Replies (9)

more options

Chosen Solution

You can still create a folder /defaults/profile and place files in that folder to have them in a new default profile. Folders that have no content are no longer present in the Firefox 4 RC version, but some are still being read and processed.

more options

Thanks a lot, it's a simple. I've forgot to create such a simple folder which is namend like in FF 3.6.x.

Have a nice week

more options


Would anyone be able to post specific steps to deploy firefox with customized settings. We were able to extract the files from the temp folder, install silently, etc. But, when we have tried to customize the settings such as checking for updates, default browser, disabling the profile migration wizard. Any new profiles created do not pick up the default settings specified. Also, when you research deployment there are old pages and what seems to appear as information that is not clear on saying this is how you do it. Seems like if mozilla would post an up to date deployment page on specifics that would be extremely helpful. Thanks for any info.

more options

Deployment method of Firefox 4.x

1. extract the installation executable file

you will find the folder "core" and the file "setup.exe"

2. in \core\defaults you have to create the folder "profile"

it should look like this: "\core\defaults\profile"

3. in this folder "profile" you can place your own user settings to share it to new firefox profiles

4. either you can place in this "profile" folder the file prefs.js for user settings or you use my method which is explained in point 5

5. instead of prefs.js - I placed one file in the profiles folder which is called "user.js"

By this file the user settings will also set AND if one user will change his own settings, after an restart of firefox - this file will reload my settings to this user

This method is only for new profiles. Existing user profiles will receive the settings either by active setup or by one script, which I have written.

In this script, I ask every existing local user folder for the file prefs.js. If this file existing - I will write in real time my user.js in the assigned Firefox profiles folder.

Now we have one deployable firefox package for new and existing firefox profiles.

more options

Hi guys, here are some informations that i found and combined. These preferences/customisations ARE TESTED and WORKING!!

First of all, extract your "Firefox Setup 4.0.exe"

Silent installation without desktop icon: Create a "nodesktop.ini" at the same place you can find the setup.exe (root directory after extraction) containing following text:



Run: Installationfolder\setup.exe -ms /INI="CompletePathToInstallationFolder\nodesktop.ini

Disable Import Wizard: Create: InstallationFolder\core\override.ini containing:



Many options have to be set in InstallationsFolder\core\defaults\profile\prefs.js These directories and the prefs.js File have to be created first. Then make following entries:

Use wpad:

user_pref("network.proxy.autoconfig_url", "YourWpad.dat"); user_pref("network.proxy.type", 2);

Set startup homepage:

user_pref("browser.startup.homepage", "");

Don't show browser rights:

user_pref("browser.rights.3.shown", true);

Don't ask if FF should be default browser:

user_pref("", false);

Dont't show FF welcome homepage at first run:

user_pref("startup.homepage_welcome_url", "");

Modified by ibex8

more options

Nope, does still not work. I don't use "nodesktop.ini", but I've placed an "override.ini" to "\installbase\core". Please see my "prefs.js" (below) which has been put to "\installbase\core\defaults\profile" - what's wrong with it???

# Mozilla User Preferences

/* Do edit this file only if you know what you're doing.

* Contained here are the settings used to preconfigure
* Mozilla Firefox 4.*

// Set Proxy
user_pref("network.proxy.autoconfig_url", "http://proxy/proxy.pac");
user_pref("network.proxy.type", 2);

// Disable Browser Rights
user_pref("browser.rights.3.shown", true);

// Disable Firefox asking to become the default Browser
user_pref("", false);

// Disable Updates for Search-Engine, Browser and Extensions
user_pref("", false);
user_pref("app.update.enabled", false);
user_pref("extensions.update.enabled", false);

// Disable Welcome Page and set Home Page
user_pref("startup.homepage_welcome_url", "");
user_pref("browser.startup.homepage", "");

On 1st start welcome page comes up, proxy is not set, home neither.

Modified by cherdeg

more options

ibex8...are you still alive?

more options

Here are some instructions for creating a customised deployment of Firefox 4 (including setting the homepage for all new and existing users)
more options