In this article we will show you how to configure Firefox 11 and Deploy it through the Dell Kace K1000.

Many of you have asked how to deploy Firefox with the Kace K1000.
Below we will show you how to deploy Firefox but also how to set the configurations.

The following process has been tested and confirmed as working with Firefox 11.0 and Kace K1000 on Windows XP x86, Windows 7 x86 and Windows 7 x64.

It does the following tasks:

  • Install Firefox 11 silently, without FireFox being the default
  • Sets the proxy server details (example server – proxy.server.local:8080)
  • Disables the ‘Automatically check for updates’ option
  • Disables the ‘Always check to see if Firefox is the default browser on startup’ option
  • Sets homepage to ‘http://www.indigomountain.co.uk’
  • Disables the ‘know your rights’ button from displaying on first run
  • Disables the request to send performance data from displaying

Full Download: FireFox11Silent.zip

How to customise and deploy (silent install) Firefox 11:

    1. Create a temporary working folder for saving the files into (for example, create C:TEMPFirefox)
    2. Download the latest install file at http://www.mozilla.com/firefox. Save to C:TEMPFirefox
    3. Create a new text file called ‘override.ini’ and copy in the following information:

    [XRE]
    EnableProfileMigrator=false

    1. Create a new text file called ‘local-settings.js’ and copy in the folling information:

    pref("general.config.obscure_value", 0);
    pref("general.config.filename", "mozilla.cfg");

    1. Create a new text file called ‘mozilla.cfg’ and copy in the following information:


    //Firefox Default Settings

    // set Firefox Default homepage
    pref("browser.startup.homepage","http://www.indigomountain.co.uk");

    //disable default browser check
    pref("browser.shell.checkDefaultBrowser", false);
    pref("browser.startup.homepage_override.mstone", "ignore");

    //set proxy server settings
    pref("network.proxy.ftp", "proxy.server.local");
    pref("network.proxy.ftp_port", 8080);
    pref("network.proxy.gopher", "proxy.server.local");
    pref("network.proxy.gopher_port", 8080);
    pref("network.proxy.http", "proxy.server.local");
    pref("network.proxy.http_port", 8080);
    pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, *.server.local");
    pref("network.proxy.type", 1);
    pref("network.proxy.share_proxy_settings", true); // use the same proxy settings for all protocols

    // disable application updates
    pref("app.update.enabled", false);

    // disables the 'know your rights' button from displaying on first run
    pref("browser.rights.3.shown", true);

    // disables the request to send performance data from displaying
    pref("toolkit.telemetry.prompted", 2);
    pref("toolkit.telemetry.rejected", true);

    1. Create a new text file called ‘install.cmd’ and copy in the following information


    @echo off
    REM====================================================================================
    REM Install FireFox 11.0
    REM====================================================================================
    REM Date : 26 March 2012
    REM Author : Indigo Mountain
    REM .
    REM Script Details:
    REM --------------
    REM This script will:
    REM + silently install or upgrade Firefox 11.0 WITHOUT Firefox being the default browser
    REM + Disables the 'Automatically check for updates' option
    REM + Disables the 'Always check to see if Firefox is the default browser on startup' option
    REM + Changes the download option 'Always ask me where to save files' to enabled
    REM + Works for Windows XP / 7 32-bit and 64-bit
    REM .
    REM====================================================================================
    echo Installing Firefox - Please Wait.
    echo Window will close after install is complete

    REM Install Firefox 11.0
    "%~dp0Firefox Setup 11.0.exe" -ms

    REM Install 32-bit customisations
    if exist "%programfiles%Mozilla Firefox" copy /Y "%~dp0override.ini" "%programfiles%Mozilla Firefox"
    if exist "%programfiles%Mozilla Firefox" copy /Y "%~dp0mozilla.cfg" "%programfiles%Mozilla Firefox"
    if exist "%programfiles%Mozilla Firefox" copy /Y "%~dp0local-settings.js" "%programfiles%Mozilla Firefoxdefaultspref"

    REM Install 64-bit customisations
    if exist "%ProgramFiles(x86)%Mozilla Firefox" copy /Y "%~dp0override.ini" "%ProgramFiles(x86)%Mozilla Firefox"
    if exist "%ProgramFiles(x86)%Mozilla Firefox" copy /Y "%~dp0mozilla.cfg" "%ProgramFiles(x86)%Mozilla Firefox"
    if exist "%ProgramFiles(x86)%Mozilla Firefox" copy /Y "%~dp0local-settings.js" "%ProgramFiles(x86)%Mozilla Firefoxdefaultspref"

    REM Removes Firefox Desktop Icon - Windows XP
    if exist "%allusersprofile%DesktopMozilla Firefox.lnk" del "%allusersprofile%DesktopMozilla Firefox.lnk" /S

    REM Removes Firefox Desktop Icon - Windows 7
    if exist "C:UsersPublicDesktopMozilla Firefox.lnk" del "C:UsersPublicDesktopMozilla Firefox.lnk"

    REM Return exit
    exit /B %EXIT_CODE%

      1. Copy the Firefox install file, override.ini, mozilla.cfg, local-settings.js and install.cmd to your software package share

    1. You can now create your KACE package or deploy the software by using install.cmd.

    For more information on what can be configured in the mozilla.cfg enter “about:config” into your Firefox address bar. It will list many of the accepted configuration options which you can modify using this file.

    To set default settings from an application level for all new and existing users you will need to use a general config file. The unfortunate consequence is that once the setting is configured it can not be changed by the user, whether or not you use ‘pref’ or ‘lockPref’.

     

    Creating your Package for KACE Distribution

    Zip up your Firefox package. (Do not use the in built windows zip, use a third party like 7zip or Winrar as this has been known to cause issues when decompressing on the Kace boxes)

    Login to your KACE K1000 and go to Inventory then Software.

     

    Add Firefox 11.0 as a new software item and associate your Firefox Package then click Save.

    Now go to Distribution then Managed Installations and Add New.

    Select Firefox you made from the Software list.

    When the software is deployed to the client computer it will automatically be unzipped, so all you need to do is run the batch file to start the installation in the Run Parameters (install.cmd)

     

    Your Kace box is now ready to distribute Firefox to your computers.

    source