Do not make Firefox default browser during installation
-
- Posts:3
- Joined:Mon Mar 24, 2008 6:23 am
Is it possible to make option in Firefox.adm "Do not make Firefox default browser"?
Here is my situation: there are a lot of internal web applications in my company, which compatible only with IE. So it is important to keep IE default browser (link following, etc...). IE disallowed to go into internet, so it is not a security flaw
But after each update of Firefox, I got a pain with changing default browser back. I do it with scripts, but script works only with turned on computers
So such option would be very useful.
To tell the truth, I'm ready to edit msi before each deployment, but I don't know what to change
Sorry for poor english.
Here is my situation: there are a lot of internal web applications in my company, which compatible only with IE. So it is important to keep IE default browser (link following, etc...). IE disallowed to go into internet, so it is not a security flaw
But after each update of Firefox, I got a pain with changing default browser back. I do it with scripts, but script works only with turned on computers
So such option would be very useful.
To tell the truth, I'm ready to edit msi before each deployment, but I don't know what to change
Sorry for poor english.
Re: Do not make Firefox default browser during installation
This is something I would really like to see as well.
I want Firefox deployed to my clients, but I don't want it to be their default browser.
I want Firefox deployed to my clients, but I don't want it to be their default browser.
- DraconPern
- Site Admin
- Posts:1218
- Joined:Thu Oct 30, 2003 11:47 pm
- Location:Texas
- Contact:
Re: Do not make Firefox default browser during installation
This is actually possible by doing an admin install first by setting the INSTALLLEVEL. I should probably document that on the site.
FrontMotion Lead Developer
-
- Posts:3
- Joined:Mon Mar 24, 2008 6:23 am
Re: Do not make Firefox default browser during installation
Well, I really do not understand how to do this. Googled with no sucsess. Can you provide any tips?DraconPern wrote:This is actually possible by doing an admin install first by setting the INSTALLLEVEL. I should probably document that on the site.
Re: Do not make Firefox default browser during installation
This is how I do it.
After the adminstrative install, browse to the directory where firefox.js lives which should be under Program Files\Mozilla Firefox\defaults\pref
edit firefox.js and change the following:
Change: pref("browser.shell.checkDefaultBrowser", true);
to: pref("browser.shell.checkDefaultBrowser", false);
There are a couple other things I change too but this one should fix the default issue.
Steve
After the adminstrative install, browse to the directory where firefox.js lives which should be under Program Files\Mozilla Firefox\defaults\pref
edit firefox.js and change the following:
Change: pref("browser.shell.checkDefaultBrowser", true);
to: pref("browser.shell.checkDefaultBrowser", false);
There are a couple other things I change too but this one should fix the default issue.
Steve
-
- Posts:3
- Joined:Mon Mar 24, 2008 6:23 am
Re: Do not make Firefox default browser during installation
sfichtner I didn't undertand your post.
As I can understand, this option is for firefox, not for installer. Same option exist in firefox.adm and works fine.
What does it mean?adminstrative install
After installation via GP, firefox is already default browser.pref("browser.shell.checkDefaultBrowser", true);
As I can understand, this option is for firefox, not for installer. Same option exist in firefox.adm and works fine.
- DraconPern
- Site Admin
- Posts:1218
- Joined:Thu Oct 30, 2003 11:47 pm
- Location:Texas
- Contact:
Re: Do not make Firefox default browser during installation
There's two places that happen on setting default browser. The GP option is firefox's check during startup. The other one is during install. See http://forums.frontmotion.com/viewtopic.php?f=10&t=366 on installlevel
FrontMotion Lead Developer
Re: Do not make Firefox default browser during installation
An administrative install is:
msiexec /a Firefox-2.0.0.13-en-US.msi
This performs an install to a sharepoint with the files extracted. Then I navigate to the firefox.js file on the sharepoint and modify settings. Then create a new GPO to install it.
I fought the problem of Firefox wanting to be the default browser for a long time. Our users only have normal user permissions. Until I started changing the checkDefaultBrowser preference, this was pain in the neck. Changing the setting to false before deploying has been wonderful, Firefox never asks to be the default browser. We have reasons for IE to remain the default browser.
Check out the INSTALLLEVEL from draconpern. I don't modify the default INSTALLLEVEL. Maybe somone can concisely clarify these options for future reference.
Steve
msiexec /a Firefox-2.0.0.13-en-US.msi
This performs an install to a sharepoint with the files extracted. Then I navigate to the firefox.js file on the sharepoint and modify settings. Then create a new GPO to install it.
I fought the problem of Firefox wanting to be the default browser for a long time. Our users only have normal user permissions. Until I started changing the checkDefaultBrowser preference, this was pain in the neck. Changing the setting to false before deploying has been wonderful, Firefox never asks to be the default browser. We have reasons for IE to remain the default browser.
Check out the INSTALLLEVEL from draconpern. I don't modify the default INSTALLLEVEL. Maybe somone can concisely clarify these options for future reference.
Steve
Re: Do not make Firefox default browser during installation
I've almost got this working but there is some part of this that is not clear. I've created the administrative install point, and edited the firefox.js, changing the setting to false, and Firefox 3.0.3 still installs itself as the default browser. Do I have to create the administrative install point using the INSTALLLEVEL switch, because I did that too, setting that to 3. My assumption was that setting the INSTALLLEVEL to 3 or "ask" and then disabling the "ask" in the firefox.js is what you were saying fixed this. But it doesn't, at least for me.
Re: Do not make Firefox default browser during installation
It seems that administrative install with "INSTALLLEVEL=3" on the command line didn't work for me.
So I modified the msi-package with Orca and changed there the INSTALLLEVEL to 3 manually. Then the administrative install was ok and only the additional adaptation to firefox.js was necessary.
However I still have one problem. Firefox is not the default browser, but there's still on problem in my registry after deploying firefox.
The key HKLM/Software/Classes/http/shell/open/command is "C:\Program Files\Internet Explorer\IEXPLORE.EXE" -nohome" which seems to be correct after deploying.
But unfortunately the operating system is in german and we don't have a "Program Files" directory. Instead it's called "Programme". So IE can't be found correctly.
The "ProgramFilesPath" variable is correctly set to "C:\Programme".
Any idea how to avoid this?
How does the msi-package modifies the "open/command"-registry entries?
Felix
So I modified the msi-package with Orca and changed there the INSTALLLEVEL to 3 manually. Then the administrative install was ok and only the additional adaptation to firefox.js was necessary.
However I still have one problem. Firefox is not the default browser, but there's still on problem in my registry after deploying firefox.
The key HKLM/Software/Classes/http/shell/open/command is "C:\Program Files\Internet Explorer\IEXPLORE.EXE" -nohome" which seems to be correct after deploying.
But unfortunately the operating system is in german and we don't have a "Program Files" directory. Instead it's called "Programme". So IE can't be found correctly.
The "ProgramFilesPath" variable is correctly set to "C:\Programme".
Any idea how to avoid this?
How does the msi-package modifies the "open/command"-registry entries?
Felix
Re: Do not make Firefox default browser during installation
Well, I've tried every combination and I can't get it to work. It's probably something silly I'm doing wrong but I can't keep FireFox from becoming the default browser during the install. Any ideas? Any chance for a 1 - 2 - 3 step set of instructions?
Re: Do not make Firefox default browser during installation
Here is a transform file that ensures firefox 3.0.3 is not set as the default browser during a group policy installation of the MSI file.
This forum doesn't allow attaching of even small files so I've rapid-shared this for now. 10 downloads only...
http://rapidshare.com/files/158273002/dont-make-default.mst.html
For those of you more technically inclined, this file was made with ORCA, and simply changing the INSTALLLEVEL to 3 within the property section of the MSI.
Here is a uuencoded version of the same file...
This forum doesn't allow attaching of even small files so I've rapid-shared this for now. 10 downloads only...
http://rapidshare.com/files/158273002/dont-make-default.mst.html
For those of you more technically inclined, this file was made with ORCA, and simply changing the INSTALLLEVEL to 3 within the property section of the MSI.
Here is a uuencoded version of the same file...
Code: Select all
begin 600 dont-make-default.mst
MT,\1X*&Q&N$`````````````````````/@`#`/[_"0`&```````````````!
M`````0``````````$````@````$```#^____``````````#_____________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M_______________________]____!````/[___\%````_O____[_________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M_____________________________________________U(`;P!O`'0`(`!%
M`&X`=`!R`'D`````````````````````````````````````````````````
M```````````6``4`__________\#````@A`,``````#`````````1@``````
M`````````)"+>=72.,D!`P```(`#````````0$A91?)$:$4W1P``````````
M````````````````````````````````````````````````````````````
M``P``@'_______________\`````````````````````````````````````
M```````````"````!@````````!`2#\_=T5L1&H^LD0O2```````````````
M````````````````````````````````````````````````````$``"`?__
M__\$````_____P``````````````````````````````````````````````
M``$````,`````````$!(/S]W16Q$:COD121(````````````````````````
M```````````````````````````````````````````0``(!`0````(```#_
M____``````````````````````````````````````````````````````T`
M````````_O____[____^____!`````4````&````!P````@````)````"@``
M``L````,````#0```/[_________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M______________________________])3E-404Q,3$5614PS````````````
M````````````````````````````````````````````````````````````
M``P``0`!``$`````````````````````````````````````````````````
M``````````````````````(``0`"````````````````````````````````
M``````````````````````````````````````````````#^_P``!0$"````
M```````````````````!````X(6?\OE/:!"KD0@`*R>SV3````"0`@``#@``
M``$```!X`````@```(`````#````H`````0```#8````!0```.P````&````
M'`$```P```!4`0``$@```&`!```3````Q`$```<```#,`0``"````.`!```)
M````]`$```X```"``@``$````(@"```"````Y`0``!X````6````26YS=&%L
M;&%T:6]N($1A=&%B87-E````'@```"\````S+C`N,RXP("AC<F5A=&5D($9R
M:2!/8W0@,3`@,C`P."!A="`U.C$U.C4Y86TI```>````#````$9R;VYT36]T
M:6]N`!X````H````1G)O;G1-;W1I;VXL($UO>FEL;&$L($9I<F5F;P4`4P!U
M`&T`;0!A`'(`>0!)`&X`9@!O`'(`;0!A`'0`:0!O`&X`````````````````
M```````````````````H``(`________________````````````````````
M`````````````````````````````P```,`"````````````````````````
M````````````````````````````````````````````````````````````
M``````````````#_______________\`````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M`````/_______________P``````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````____
M____________````````````````````````````````````````````````
M````````````````>"!);G-T86QL97(`'@```#````!-;WII;&QA($9I<F5F
M;W@@*&5N+553*2!P86-K86=E9"!B>2!&<F]N=$UO=&EO;@!``````/052<$J
MR0$>````6P```$UA:V5-<VD@=F5R<VEO;B`P-RXP,#(L(&$@9G)E92!T;V]L
M(&)Y($1E;FYI<R!"87)E:7,@*&AT='`Z+R]D96YN:7-B87)E:7,N8V]M+VUA
M:V5M<VDN:'1M*0```P````(````>````"P```$EN=&5L.S$P,S,``!X````+
M````26YT96P[,3`S,P``'@```(,```![,#@T.#E".48M.44R,2TT04,P+3E#
M03`M,38S,D)!1D-#,$(Q?3,N,"XS+C`[>S`X-#@Y0CE&+3E%,C$M-$%#,"TY
M0T$P+3$V,S)"049#0S!",7TS+C`N,RXP.WLQ,CA#,#9&-"U!,#1%+31&038M
M.3,Y-RTU-#(Y-3$S,SDV141]```#````;@````,`````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
=````````````````````````````````````````
`
end
Re: Do not make Firefox default browser during installation
Further evidence there must be another factor at work here. That transform file does the exact same things that I did manually to the .msi file. Either I have a step out of order or I have something else contradicting my preferences.
Re: Do not make Firefox default browser during installation
Any further information on this problem? I have been very pleased with the other aspects of this installer, but screwing up the default browser every time I patch Firefox is a real bummer for my users. I would just like the default browser to stay "as is" when I do my install. Thanks.
Re: Do not make Firefox default browser during installation
you need to do both things:
1. do the admin extraction to extract the msi content to a folder, like this:
msiexec /a Firefox-3.0.5-en-US.msi
then just tell it to put it in a folder, eg: \\server\share\ff305\
2. edit the firefox.js file as per this thread, specifically:
change this:
pref("browser.shell.checkDefaultBrowser", true);
to this:
pref("browser.shell.checkDefaultBrowser", false);
3. deploy it using the extracted MSI and files with a transform that sets the install level as discussed above, specifically,
Use the ORCA editor to make a transform, and changine the INSTALLLEVEL to 3 within the property section.
1. do the admin extraction to extract the msi content to a folder, like this:
msiexec /a Firefox-3.0.5-en-US.msi
then just tell it to put it in a folder, eg: \\server\share\ff305\
2. edit the firefox.js file as per this thread, specifically:
change this:
pref("browser.shell.checkDefaultBrowser", true);
to this:
pref("browser.shell.checkDefaultBrowser", false);
3. deploy it using the extracted MSI and files with a transform that sets the install level as discussed above, specifically,
Use the ORCA editor to make a transform, and changine the INSTALLLEVEL to 3 within the property section.