Mission Control Failure

alharaka
Posts:1
Joined:Fri Jun 05, 2009 10:07 am
Mission Control Failure

Post by alharaka » Fri Jun 05, 2009 12:31 pm

I am wrapping up a Windows XPSP2 image for my organization. I wanted to give your MSI a try, after seeing its months ago, but not having an opportunity to deploy it. Unfortunately, I cannot get mission control to work.

I downloaded your most current Firefox MSI, Firefox-3.0.10-en-US.msi, from the following location:

http://frontmotion.com/Firefox/download.php?fileid=2740

Following the install, I wanted to add my own .cfg file to lockdown Firefox, a userChrome.css file to enforce a consistent layout, and a very basic localstore.rdf file to ensure people have certain toolbar elements out of the box. Everything else worked fine, except the modified cfg file. The file is below:

Code: Select all

//

try {

lockPref("network.proxy.type", 0);
lockPref("browser.startup.homepage", "http://dml.georgetown.edu/");
lockPref("app.update.enabled", false);
lockPref("app.update.disable_button.showUpdateHistory", true);
lockPref("browser.cache.disk.capacity", 50000);
lockPref("browser.download.manager.showWhenStarting", true);
lockPref("browser.download.manager.closeWhenDone", true);
lockPref("browser.download.manager.retention", 0);
lockPref("browser.download.useDownloadDir", false);
lockPref("browser.formfill.enable", false);
lockPref("browser.history_expire_days", 0);
lockPref("browser.popups.showPopupBlocker", false);
lockPref("browser.search.selectedEngine", "Google");
lockPref("browser.search.update", false);
lockPref("browser.shell.checkDefaultBrowser", false);
lockPref("extensions.update.enabled", false);
lockPref("javascript.enabled", true);
lockPref("security.enable_java", true);
lockPref("pref.advanced.images.disable_button.view_image", true);
lockPref("pref.advanced.javascript.disable_button.advanced", true);
lockPref("pref.privacy.disable_button.set_master_password", true);
lockPref("pref.privacy.disable_button.view_passwords", true);
lockPref("print.save_print_settings", false);
lockPref("privacy.sanitize.promptOnSanitize", false);
lockPref("privacy.sanitize.sanitizeOnShutdown", true);
lockPref("security.warn_entering_secure", false);
lockPref("security.warn_leaving_secure", false);
lockPref("security.warn_submit_insecure", false);
lockPref("signon.rememberSignons", false);
lockPref("privacy.popups.showBrowserMessage", false);
lockPref("dom.disable_open_during_load", true);
lockPref("permissions.default.image", 1);
lockPref("xpinstall.enabled", false);
lockPref("general.autoScroll", true);
lockPref("general.smoothScroll", false);
lockPref("accessibility.browsewithcaret", true);
lockPref("accessibility.typeaheadfind", false);
lockPref("browser.enable_automatic_image_resizing", true);
lockPref("network.cookie.cookieBehavior", 0);
lockPref("xpinstall.whitelist.required", false);
lockPref("browser.link.open_external", 2);
lockPref("browser.link.open_newwindow", 2);
lockPref("browser.tabs.loadInBackground", false);
lockPref("browser.tabs.warnOnClose", false);
lockPref("browser.tabs.autoHide", true);
lockPref("pref.downloads.disable_button.edit_actions", true);
lockPref("security.enable_ssl2", true);
lockPref("security.enable_ssl3", true);
lockPref("security.enable_tls", true);
lockPref("pref.browser.language.disable_button.remove", true);
lockPref("pref.browser.language.disable_button.up", true);
lockPref("pref.browser.language.disable_button.down", true);
lockPref("pref.privacy.disable_button.cookie_exceptions", true);
lockPref("intl.charset.default", "ISO-8859-1");
lockPref("font.language.group", "x-western");
lockPref("font.size.variable.x-western", 16);
lockPref("font.size.fixed.x-western", 13);
lockPref("font.minimum-size.x-western", 10);
lockPref("font.default.x-western", "serif");
lockPref("font.name.serif.x-western", "Times New Roman");
lockPref("font.name.sans-serif.x-western", "Arial");
lockPref("font.name.monospace.x-western", "Courier New");
lockPref("browser.display.screen_resolution", 96);
lockPref("browser.display.use_document_fonts", 1);
lockPref("browser.display.use_document_colors", true);
}

catch(e){
displayError("lockedPref", e);
}
I encrypted the file with ROT-13, as documented elsewhere, using the website below.

http://www.knaff.lu/howto/MozillaCustom ... yteshf.cgi

Here is the batch file I tested.

Code: Select all

REM # @ECHO OFF

SET SERVER=SERVER
SET DOMAIN=DOMAIN
SET SHARE=SHARE
REM # SET RPATH=%SERVER%.%DOMAIN%\%SHARE%\Firefox
SET RPATH=%RPATH%\Firefox
SET LPATH=%PROGRAMFILES%\Mozilla Firefox
SET RCFGPATH=%RPATH%\Conf\DML IS Desk
SET LCFGPATH=%LPATH%
SET CFGFILE=isdesk.cfg
SET GREPREFSPATH=%LPATH%\greprefs
SET GREPREFSFILE=all.js
SET RCHROMEPATH=%RPATH%\Conf\DML IS Desk
SET LCHROMEPATH=%LPATH%\defaults\profile\chrome
SET CHROMEFILE=userChrome.css
SET RLOCALSTOREPATH=%RPATH%\Conf\DML IS Desk
SET LLOCALSTOREPATH=%LPATH%\defaults\profile
SET LOCALSTOREFILE=localstore.rdf

REM # Load the ROT-13 CFG file and correctly configure it in the all.js file
xcopy /y /i "%RCFGPATH%\%CFGFILE%" "%LCFGPATH%"
echo pref("general.config.filename","%CFGFILE%"); >> "%GREPREFSPATH%\%GREPREFSFILE%"

REM # Set the GUI settings in userChrome.css
REM # xcopy /y /i "%RCHROMEPATH%\%CHROMEFILE%" "%LCHROMEPATH%"

REM # Now also install some GUI options with the localstire.rdf file
REM # xcopy /y /i "%RLOCALSTOREPATH%\%LOCALSTOREFILE%" "%LLOCALSTOREPATH%"
This script will be deployed with the MSI in a GPO. Prior I have tested it and the syntax is correct. It properly copies over the cfg file and modifies %PROGRAMFILES%\Mozilla Firefox\greprefs\all.js. I start up Firefox right after, and it fails. About:config reveals that general.config.filename is correctly set to isdesk.cfg and general.config.obscure_value is correctly set to 0. When I try renaming the file, errors occur because the mission control file cannot be found. In short, it recognizes the file, but nothing is correctly applied.

Following this, I downloaded the Firefox 3.10 Installer from their website. I uninstalled Firefox deployed via the FrontMotion MSI and installed it with the default installer. I ran my script, started Firefox, and it worked perfectly. Do you have any suggestions on how I should I proceed?

Post Reply