Firefox 14 on Windows XP - install addons automatically - need to stop this
Hi all,
I have packaged Firefox 14 for both our Windows XP environment and our Windows 7 environment. We are currently transitioning from XP to Windows 7 therefore require it on both builds.
On Windows 7 once the package is installed and the user runs Firefox for the first time it runs without any prompts and without a problem. I created my msi package from a snapshot and set my firefox properties using the Mozilla.cfg, override.ini and local-settings.js files after following the recommended guidelines for packaging Firefox.
However, on Windows XP, on first run Firefox checks to see what Addons are available and want to interact with Firefox. Therefore the user is presented with a window where they can select/deselect whatever Addons they feel like instaling. This is an issue, as, one of the Addons is Symantec Intrusion Prevention which we really want turned on.
A user can tick the relevant tick box and it will install for that user but if a user chooses not to install the Addon then it's not installed and the user could be left vulnerable.
This is also a per-user setting and not a per-machine setting so will need to be done for each user.
I have performed a capture of ticking each of the boxes on first run and managed to capture what changes were made. I noticed that a number of files are created/modified in the users Appdata folder - AppData\Mozilla\Firefox\Profiles\%username%.
So I was thinking of adding these files to my msi and using Active Setup to install them for each user.
However, I don't know how I would do it so that the folder would change for each user? I was thinking of using the SetProperty Custom Action and the Set Directory Custom Action and using them to take in the %username% variable and populate the directory that way. But it's been a long time since I did something like this and I'm very rusty.
Anyone got any recommendations for a solution to my problem?
Cheers,
Mark
Answers (5)
pref("extensions.autoDisableScopes", 0); pref("extensions.enabledScopes", 15);
I'm sure someone will have a better answer, but this looks interesting: http://mike.kaply.com/2010/06/18/customizing-the-firefox-installer-on-windows/
Comments:
-
Hi thanks for that. I read through it and tried changed the contents of the application.ini file. I changed the value on the following 2 lines to 0. EnableProfileMigrator=0
EnableExtensionManager=0
However, this hasn't made a difference on Windows XP. I still get asked to install the Addons. - mark_holland21 12 years ago-
I don't know if it helps with your issue, but I didn't realize that link was from 2010, here's one from this year: http://mike.kaply.com/2012/02/14/customizing-the-firefox-installer-on-windows-2012/
This might help too: http://www.itninja.com/blog/view/deployment-of-mozilla-firefox-12 - jknox 12 years ago
All settings files under ...\defaults\pref\ and ...\defaults\Profile\ will be copied to the users profile on first run.
Type about.config in the adress bar and see if you can find your setting there.
Search for something like extensions.enableAddons, after you've configured it the way you want.
Then add the prefs.js file (from your installation) to your installation under .\core\defaults\Profile\prefs.js
Hi guys, The information in this website answered my question. I added these 2 lines to my mozilla.cfg file -
pref("extensions.autoDisableScopes", 0);
pref("extensions.enabledScopes", 15);
Comments:
-
Sorry, here's the website - http://mike.kaply.com/2012/02/21/understanding-add-on-scopes/ - mark_holland21 12 years ago
-
mark this as answered and put in solution for the ninja points - SMal.tmcc 12 years ago
-
I had also had to deploy Firefox 14 so it never remembered History and always asked users where to download to. Bit of a nightmare working out the switched but adding the following to the Mozilla.cfg file worked for me:
pref("browser.privatebrowsing.autostart", true);
pref("browser.download.useDownloadDir", false); - RobinArm 12 years ago
Here is link for a silent install and configure
http://www.mockbox.net/configmgr-sccm/174-install-and-configure-firefox-silently
You can also have a look here:
http://msiworld.blogspot.com.au/2012/01/packaging-mozilla-firefox-901.html
This will work for 14 as well.