Create one folder, “ver_9″ (or anything else you like)
That folder contains the following files, each of which will be described in more detail in immediately afterward:
- Firefox Setup 9.0.1.exe
- install_Firefox.bat
- local-settings.js
- mozilla.cfg
- override.ini
“Firefox Setup 9.0.1.exe”- this is the installation file downloaded from firefox.com
“install_Firefox.bat” -this file contains the text below and will be used to uninstall previous versions of Firefox before installing the new one.
“C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe” /s
“C:\Program Files\Mozilla Firefox\uninstall\helper.exe” /s
“\\yourservername\yourdeploymentshare\Applications\Firefox\ver_9\Firefox Setup 9.0.1.exe” -ms
copy “\\yourservername\yourdeploymentshare\Applications\Firefox\ver_9\override.ini” “C:\Program Files\Mozilla Firefox” /Y
copy “\\yourservername\yourdeploymentshare\Applications\Firefox\ver_9\mozilla.cfg” “C:\Program Files\Mozilla Firefox” /Y
copy “\\yourservername\yourdeploymentshare\Applications\Firefox\ver_9\local-settings.js” “C:\Program Files\Mozilla Firefox\Defaults\Pref” /Y
copy “\\yourservername\yourdeploymentshare\Applications\Firefox\ver_9\override.ini” “C:\Program Files (x86)\Mozilla Firefox” /Y
copy “\\yourservername\yourdeploymentshare\Applications\Firefox\ver_9\mozilla.cfg” “C:\Program Files (x86)\Mozilla Firefox” /Y
copy “\\yourservername\yourdeploymentshare\Applications\Firefox\ver_9\local-settings.js” “C:\Program Files (x86)\Mozilla Firefox\Defaults\Pref” /Y
“local-settings.js” – contains the following text, not all of which is necessary but I’m unmotivated to clean it up as I document this. This file gets copied from your server to the installation directory.
pref(“general.config.obscure_value”, 0);
pref(“general.config.filename”, “mozilla.cfg”);
toolkit.telemetry.enabled=false
toolkit.telemetry.prompted=True
user_pref(“extensions.update.enabled”, false);
user_pref(“toolkit.telemetry.prompted”, true);
extensions.shownSelectionUI=false
mozilla.cfg – this file gets copied from your server to the installation directory. Modify as you see fit
//Firefox Default Settings
pref(“browser.startup.homepage”,”http://www.furman.edu”);
//disable default browser check
pref(“browser.shell.checkDefaultBrowser”, false);
// disable application updates
pref(“app.update.enabled”, false);
//use classic downloader
pref(“browser.download.useDownloadDir”, false);
// Do not redirect user to the homepage override URL
lockPref(“browser.startup.homepage_override.mstone”, “ignore”);
// The URL to use as a homepage when the browser starts after an upgrade
lockPref(“startup.homepage_override_url”, “”);
// The URL to display upon loading Firefox with a new profile for the first time
lockPref(“startup.homepage_welcome_url”, “”);
// Disables ‘Know your rights’ message on first launch
lockPref(“browser.rights.3.shown”, true);
// Disables popup-blocker, enabling pop-ups.
lockPref(“dom.disable_open_during_load”, false);
// Disables remembering passwords
lockPref(“signon.rememberSignons”, false);
// Disables “I am about to enter an encrypted page” warning
lockPref(“security.warn_entering_secure”, false);
// Automatically Check For Updates to: Installed Add-ons
lockPref(“extensions.update.enabled”, false);
// May disable the “Would you like to help improve Firefox?” on startup message
pref(“toolkit.telemetry.prompted”, false);
override.ini – will prevent being asked about bookmark imports, etc.
[XRE]
EnableProfileMigrator=false
I use MDT2010 for deployment … you do it however you wish. If you double click the batch file it will uninstall the older version(s) and install the latest.



