This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

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?

  • 9 ردود
  • 44 have this problem
  • 1 view
  • آخر ردّ كتبه RoiDesRois

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

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

الحل المُختار

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

الحل المُختار

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

Hi,

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:

[Install]

DesktopShortcut=false

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

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

[XRE]

EnableProfileMigrator=false

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", "http://www.YourPage.com/");

Don't show browser rights:

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

Don't ask if FF should be default browser:

user_pref("browser.shell.checkDefaultBrowser", 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("browser.shell.checkDefaultBrowser", false);

// Disable Updates for Search-Engine, Browser and Extensions
user_pref("browser.search.update", 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", "http://www.My-Home-Page.de/");

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)

        http://mockbox.net/configmgr-sccm/174-install-and-configure-firefox-silently.html
         http://mockbox.net/configmgr-sccm/300-firefox-4-set-default-home-page-for-all-users.html
more options