• Home
  • About 404TS
  • Contact

404 Tech Support

Where IT Help is Found

  • Articles
    • Code
    • Entertainment
    • Going Green
    • Hardware, Gadgets, and Products
    • Management
    • Network
    • News
    • Operating Systems
    • Security and Privacy
    • Software
    • System Administration
    • Talking Points
    • Tech Solutions
    • Web
    • Webmaster
  • Reviews
  • Media
    • Infographics
    • Videos
  • Tech Events
  • Tools
    • How do I find my IP address?
    • Browser and plugin tests
  • Get a Technical Consultation
You are here: Home / Articles / Software / Installing Firefox 15 silently with some customizations

Installing Firefox 15 silently with some customizations

2012-09-11 by Jason

To install Firefox silently is easy. You just run the setup executable with a -ms parameter, for example: firefoxsetup.exe -ms

Deploying it with that parameter is a little more complicated but doable through scripts or management programs. Further more, if you would like to customize the default behavior of Firefox, it gets a little more complicated. Here are the steps I follow to create a customized Firefox that will be installed silently. The customizations I am making include:

  • Disable import from other browser prompt at startup
  • Set the homepage
  • Disable prompt to send information back to Mozilla
  • Disable showing “Firefox is open source software, know your rights” bar
  • Disable checking if Firefox is default browser
  • Disable “first run” tab
  • Set bookmarks to autoexport to bookmarks.html file at shutdown
  • Disable antivirus scanning on downloads
  • Set Download directory
I also customized the initial bookmarks and included a search engine in the Firefox search box for my organization.

Things have changed since the Firefox Rapid Release schedule began. Instructions that used to work with Firefox 3 need to be updated to new locations in Firefox 4-15+. Searching online, many sites suggest using a batch script to copy files where they need to go. There’s actually no need for complicating the script if you know where to place the files.

In order to customize Firefox, I recommend having 7-Zip installed on your PC.

Download the latest Firefox setup executable from http://www.mozilla.org/en-US/firefox/new/ Right-click on the executable and go into Properties. Choose to Unblock the file if that is given as an option and hit ‘Ok’ to close out of the Properties Window.

Right-click on the Firefox executable again and go into the 7-Zip sub-menu, choosing “Extract to Firefox15”

In that new folder, browse to Firefox15coredefaults.

Create a new folder called profile.

Create a file called prefs.js

Edit the file to include the following lines:

[javascript]

# Mozilla User Preferences

/* Do not edit this file.
*
* If you make changes to this file while the browser is running,
* the changes will be overwritten when the browser exits.
*
* To make a manual change to preferences, you can visit the URL about:config
* For more information, see http://www.mozilla.org/unix/customizing.html#prefs
*/

//Set homepage
user_pref("browser.startup.homepage", "http://www.404techsupport.com/");

//Disable prompting to send information back to Mozilla
user_pref("toolkit.telemetry.prompted", 2);
user_pref("toolkit.telemetry.rejected", true);

//Disable showing "Firefox is open source software, know your rights" bar
user_pref("browser.rights.version", 3);
user_pref("browser.rights.3.shown", true);

//Disable checking if Firefox is default browser
user_pref("browser.shell.checkDefaultBrowser", false);

//Disable first run tab
user_pref("browser.startup.homepage_override.mstone", "15.0");

//Set bookmarks to autoexport to bookmarks.html file
user_pref("browser.bookmarks.autoExportHTML", true);

//Disable antivirus scanning on downloads
user_pref("browser.download.manager.scanWhenDone", false);

//Set Download directory
user_pref("browser.download.useDownloadDir", true);
user_pref("browser.download.folderList", 2);
user_pref("browser.download.dir", "C:\Download");

[/javascript]

If you have Firefox installed on your machine already, you can create a new profile and customize the bookmarks how you would like them to appear. Then export the Bookmarks to an HTML file. Copy that file to the firefox15coredefaultsprofile folder so the user starts off with specific bookmarks.

In the firefox15coredefaultsprofile folder, you can create a folder called ‘searchplugins’. I then created a Search Plugin for my organization through www.searchplugins.net/generate.aspx and copied the resulting .xml file into the newly created searchplugins folder. Now users will start out with this search engine in their drop-down list.

Finally, I wanted to get rid of the Profile migrator that pops up when you start Firefox up for the first time. To do that, you create a file called override.ini and you place it in the firefox15core folder.

The override.ini file needs to contain this code:

[bash]

[XRE]
EnableProfileMigrator=false

[/bash]

Now all of our customizations are complete and they carry forward by default with newly created Firefox profiles. The Firefox first impression isn’t a great user experience in my opinion, so it’s nice to be able to improve it for your environment. To install Firefox silently with our customizations, we’ll just run a script that passes the silent parameter on the setup executable from the one we extracted.

firefox15setup.exe -ms

With the ‘core’ folder also in the firefox15 directory, our customizations will be carried forward. It would be nice to be able to repackage the whole thing into a single executable again but I haven’t started looking into an easy, straight forward way to do that.

Filed Under: Software, System Administration

Trending

  • Kali Linux 2.0 released
    In Operating Systems, Security and Privacy
  • Pwn2Own 2014 begins; Results
    In Security and Privacy
  • PPTP VPN on Linksys Routers
    In Network, Software, Tech Solutions

Latest Media Posts

Find Out Where To Download SNES ROMs

Find Out Where To Download SNES ROMs

Multifunctional Video Conversion Tools – Wondershare Video Converter

Multifunctional Video Conversion Tools – Wondershare Video Converter

  • Popular
  • Latest
  • Today Week Month All
  • Access to the resource [servershare] has been disallowed Access to the resource [servershare] has been disallowed
  • Read the Event Logs on Windows Server Core Read the Event Logs on Windows Server Core
  • Increase IIS Private Memory Limit to improve WSUS availability Increase IIS Private Memory Limit to improve WSUS availability
  • How to ‘Unblock’ multiple files at a time with PowerShell How to 'Unblock' multiple files at a time with PowerShell
  • Setup your DFS namespace with DNS for compatibility in a mixed environment Setup your DFS namespace with DNS for compatibility in a mixed environment
  • How Virtual Reality Supports Mental Health Therapy How Virtual Reality Supports Mental Health Therapy
  • Key Strategies of Successful Coin Listing on Exchange Key Strategies of Successful Coin Listing on Exchange
  • Keeping Your Mac Healthy: A Comprehensive Guide to Maintenance and Troubleshooting Keeping Your Mac Healthy: A Comprehensive Guide to Maintenance and Troubleshooting
  • Making Distributed Software Development Work: Strategies and Best Practices for Managing Remote Teams Making Distributed Software Development Work: Strategies and Best Practices for Managing Remote Teams
  • customer contactless payment for drink with mobile phon at cafe counter bar,seller coffee shop accept payment by mobile.new normal lifestyle concept The Latest Innovations In Payment Technology
Ajax spinner

Elevator Pitch

404 Tech Support documents solutions to IT problems, shares worthwhile software and websites, and reviews hardware, consumer electronics, and technology-related books.

Subscribe to 404TS articles by email.

Recent Posts

  • How Virtual Reality Supports Mental Health Therapy
  • Key Strategies of Successful Coin Listing on Exchange
  • Keeping Your Mac Healthy: A Comprehensive Guide to Maintenance and Troubleshooting

Search

FTC Disclaimer

404TechSupport is an Amazon.com affiliate; when you click on an Amazon link from 404TS, the site gets a cut of the proceeds from whatever you buy. This site also uses Skimlinks for smart monetization of other affiliate links.
Use of this site requires displaying and viewing ads as they are presented.

Copyright © 2025 · Magazine Pro Theme on Genesis Framework · WordPress · Log in