Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know that with Firefox 3.6, one could extract the installer, modify files such as "nonlocalized\defaults\pref\firefox.js" and "localized\browserconfig.properties", and then install Firefox silently with these modifications by running the "setup.exe -ms" command.

Now that Firefox 4 is out, I tried duplicating this behavior but found that the files mentioned above were nowhere to be found within the Firefox 4 installer. How, then, can I install Firefox 4 silently with customizations such as having the profile migrator disabled, a custom home page, etc.?

I have discovered that after extracting the Firefox 4 installer's files, the core\override.ini file can be created and set up to disable the profile migrator. Also, the core\defaults\pref\firefox.js file can be created and set up to disable the default browser check and such. However, I have yet to figure out how to set the home page. Does anybody know?

share|improve this question

migrated from stackoverflow.com Apr 29 '11 at 7:51

This question came from our site for professional and enthusiast programmers.

3 Answers 3

The best way to do it with all customizations is with this helpful tool dedicated only for creating a silent switchless installer for Firefox 18.

It can be frustrating to manually reinstall Firefox with all its extensions, themes, personas and other add-ons. Even for those administrators who need to deploy Firefox on hundreds of network computers will find it a cumbersome task to do it manually. To assist you in building a silent Firefox installer with all of the settings preset, here is Firefox Addon Maker.

share|improve this answer

In the same directory as firefox.js create another file called prefs.js enter the following string:

user_pref("browser.startup.homepage", "http://www.your homepage.com/");

share|improve this answer
    
this currently doesn't work with Firefox 4+ –  ovann86 Jun 21 '11 at 11:25

As you have found, Firefox 4 has introduced some significant changes to how Firefox handles the configuration files. The configuration files now reside in a package file called 'omni.jar' you can over-ride the settings by creating new configuration files and placing into the 'defaults\pref\' folder or editing and repackaging the 'omni.jar' file.

However, the 'browser.startup.homepage' is not being accepted using this method - as this is a suspected bug it has been filed with Mozilla.

After going through several other options I've devised and tested a consistent and simple way of applying the customisations to a Firefox 4 installation. There is one limitation as detailed in the instructions, it may be a good or a bad thing depending on your deployment situation and requirements. See here for more information: http://www.itsupportguides.com/configmgr-sccm/firefox-set-default-home-page-for-all-users

Please note, I have also updated the original article to use this process. ( http://www.itsupportguides.com/configmgr-sccm/install-and-configure-firefox-silently )

Hopefully this will suit your requirements!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.