Hey can someone help me out here.  I am having an issue trying to deploy Firefox to our Labs and classrooms.  I can push out the Front Motion Version MSI with SCCM but then every new user gets the Import Wizard.  
Here is what I have read and implemented:
Override.ini
[XRE] EnableProfileMigrator=false

local-settings.js
pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");

mozilla.cfg
lockPref("app.update.auto", false);
lockPref("app.update.enabled", false);
lockPref("app.update.service.enabled", false);
lockPref("toolkit.telemetry.prompted", true);
lockPref("browser.rights.override", true);
lockPref("browser.startup.homepage_override.mstone", "ignore");
lockPref("browser.shell.checkDefaultBrowser", false);

userChrom.css
/* UserChrome.css for Mozilla Firefox */
/* Remove access to user interface elements that aren't suitable for application virtualization */

/* Options - Advanced - General - System Defaults */
#systemDefaultsGroup { display: none !important; }

/* Options / Advanced / Update / Firefox updates group box */
#updateApp  { display: none !important; }

/* Help - About - Check for Updates button */
#updateButton { display: none !important; }

and the install script:
@ECHO OFF
SET SOURCE=%~dp0
SET SOURCE=%SOURCE:~0,-1%
SET INSTALLPATH=%ProgramFiles%\Mozilla Firefox

REM Create the Firefox answer file
ECHO [Install] > %SOURCE%\Firefox.ini
REM    InstallDirectoryName=Firefox >> "%SOURCE%\Firefox.ini"
ECHO InstallDirectoryPath=%INSTALLPATH% >> "%SOURCE%\Firefox.ini"
ECHO QuickLaunchShortcut=false >> "%SOURCE%\Firefox.ini"
ECHO DesktopShortcut=false >> "%SOURCE%\Firefox.ini"
ECHO StartMenuShortcuts=true >> "%SOURCE%\Firefox.ini"
ECHO MaintenanceService=false >> "%SOURCE%\Firefox.ini"

REM Install Firefox
rem START /WAIT "Firefox" /D "%SOURCE%" "FirefoxSetup21.exe" /INI="%SOURCE%\Firefox.ini"
REM Installed with FrontMotion Msi.
REM Configure Firefox profile defaults and preferences locking
IF NOT EXIST "%INSTALLPATH%\browser\defaults\profile\chrome" MD "%INSTALLPATH%\browser\defaults\profile\chrome"
COPY /Y %SOURCE%\userChrome.css "%INSTALLPATH%\browser\defaults\profile\chrome\userChrome.css"
IF NOT EXIST "%INSTALLPATH%\browser\defaults\preferences" MD "%INSTALLPATH%\browser\defaults\preferences"
COPY /Y %SOURCE%\local-settings.js "%INSTALLPATH%\browser\defaults\preferences\local-settings.js"
COPY /Y %SOURCE%\Mozilla.cfg "%INSTALLPATH%\Mozilla.cfg"
COPY /Y %SOURCE%\override.ini "%INSTALLPATH%\browser\override.ini"

REM Disable the Mozilla Maintenance Service to prevent updates (in the event the service is installed)
sc config MozillaMaintenance start= disabled
pause

STILL WONT WORK!
Every new user gets prompted to import settings.
Any Ideas?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0
you wrote

[XRE] EnableProfileMigrator=false

but you have to write the EnableProfileMigrator=false in a new line.

[XRE] 
EnableProfileMigrator=false
Answered 03/09/2015 by: aragorn.2003
Red Belt

Please log in to comment
0
I'm pretty sure FF is going to store preferences such as "Have I run the Import Wizard" in the user's profile. I don't see any profile activity in your script.
Answered 03/09/2015 by: VBScab
Red Belt

  • the whole purpose of creating the files listed are to pre populate the user prefs or options, I normally use.. browser\defaults\preferences\User.js. That points to the Mozilla.cfg file, and that has the bit about not running the import wizard (among other things)
Please log in to comment
0

I tested this today, Aragorn is correct.

If I write the EnableProfileMigrator=false in a new line it works fine.

 

Answered 03/10/2015 by: Badger
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share