Do not make Firefox default browser during installation

User avatar
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

Post by DraconPern » Tue Mar 31, 2009 6:44 pm

your computers are not able to read the install network files.
FrontMotion Lead Developer

MarkErrington
Posts:48
Joined:Mon Jul 07, 2008 5:42 am

Re: Do not make Firefox default browser during installation

Post by MarkErrington » Wed Apr 01, 2009 4:21 am

Deployed 3.0.8 via GPO this morning, with a transform to set INSTALLLEVEL=3 (instead of 1000 for the complete install) and it's still setting itself as the default browser.

kcorbo
Posts:3
Joined:Tue Feb 24, 2009 9:56 am

Re: Do not make Firefox default browser during installation

Post by kcorbo » Thu Apr 02, 2009 6:13 pm

I'm still having the default browser issue with release 3.0.8 as well. I tried setting different install levels, doing an administrative install and changing the javascript file, and it still won't budge.

User avatar
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

Post by DraconPern » Fri Apr 03, 2009 4:56 am

Found the problem. Going to create a replacement set of files. Please wait for it. Thanks!
FrontMotion Lead Developer

TalkingDogs
Posts:4
Joined:Wed Apr 15, 2009 2:06 pm

Re: Do not make Firefox default browser during installation

Post by TalkingDogs » Wed Apr 15, 2009 6:44 pm

Any progress? Just deployed the MSI and this has caused a few problems.

User avatar
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

Post by DraconPern » Thu Apr 16, 2009 4:20 am

They were updated a while back. Sent out an email on the mailing list.
FrontMotion Lead Developer

tcannon
Posts:5
Joined:Wed Apr 29, 2009 7:43 am

Re: Do not make Firefox default browser during installation

Post by tcannon » Wed Apr 29, 2009 7:48 am

I'd like to chime in as having this problem as well. The install level is set to 3, the entry in the prefs.js file is set to false, yet FF insists on becoming the default browser after installation by GPO. In my case this involves only 8 pcs in a student computer lab, and I have to go to each pc and manually reset IE to be the default browser after each new version of FF is installed. TC

jpa
Posts:122
Joined:Fri May 01, 2009 5:06 pm

Re: Do not make Firefox default browser during installation

Post by jpa » Fri May 01, 2009 5:29 pm

In desperation I started hacking at the MSI. The following is a HACK with near zero understanding of what allows it to work.

Perform admin install with "MSIExec /a Firefox-3.0.10-en-US.msi"
Edit MSI with ORCA:
Set Property\INSTALLLEVEL = 3
(HACK) Set Feature\F_SetDefaultBrowser Level = 1004 (Higher than 1000)
Change "browser.shell.checkDefaultBrowser" to false in "Program Files\Mozilla Firefox\defaults\pref\firefox.js."

Doing the above I successfully deployed FF 3.0.10 via GPO without setting Firefox as default and without it asking for default. Your mileage may vary.

John-Paul

dgalanter
Posts:6
Joined:Mon May 04, 2009 1:48 pm

Re: Do not make Firefox default browser during installation

Post by dgalanter » Mon May 04, 2009 1:49 pm

I really don't want to do an admin install as I don't push out via GPO, but use Altiris instead just running a batchfile that installs via the MSI. Is there anyway that I can modify the MSI or use some command-line to not make it the default? This has become a real hassle.

jpa
Posts:122
Joined:Fri May 01, 2009 5:06 pm

Re: Do not make Firefox default browser during installation

Post by jpa » Mon May 04, 2009 7:55 pm

I really don't want to do an admin install ...
The admin install is so you can edit the default browser check out of the firefox.js file. You can still use ORCA to edit the MSI as I described. Just leave out the admin install and editing firefox.js steps.

I still haven't tracked down what is happening that causes the problem. I have seen that both IE and Firefox think they're not default (at least according to their UI.)

dgalanter
Posts:6
Joined:Mon May 04, 2009 1:48 pm

Re: Do not make Firefox default browser during installation

Post by dgalanter » Tue May 05, 2009 6:34 am

jpa wrote:
I really don't want to do an admin install ...
The admin install is so you can edit the default browser check out of the firefox.js file. You can still use ORCA to edit the MSI as I described. Just leave out the admin install and editing firefox.js steps.

I still haven't tracked down what is happening that causes the problem. I have seen that both IE and Firefox think they're not default (at least according to their UI.)
Okay, so I do an admin install to a folder on a share drive. I then use ORCA to edit the INSTALLLEVEL in the MSI, but how does then the MSI know to use the edited firefox.js file? I am new to this. ;) Do I snug it back in the MSI file somehow, or tell the MSI "use this file" in some way? Hep me, pease. ;)

jpa
Posts:122
Joined:Fri May 01, 2009 5:06 pm

Re: Do not make Firefox default browser during installation

Post by jpa » Tue May 05, 2009 11:33 am

dgalanter wrote:how does then the MSI know to use the edited firefox.js file?
Sorry, I was leaving out the admin install and firefox.js edit steps entirely. So you don't do an admin install or edit the js file. The consequence of not editing the firefox.js file is that Firefox prompts to become the default the first time it's launched.

I don't know of any free tools that will let you edit files in an MSI.

dgalanter
Posts:6
Joined:Mon May 04, 2009 1:48 pm

Re: Do not make Firefox default browser during installation

Post by dgalanter » Tue May 05, 2009 11:40 am

I'm either confused, or clear on this but helpless.

Am I correct in that I cannot simply use a command-line MSI install to make Firefox not force itself to be default?

If so, can I do an admin install, change the firefox.js file, and then do an Altiris batchfile install using a command line that calls the files from the admin install?

jpa
Posts:122
Joined:Fri May 01, 2009 5:06 pm

Re: Do not make Firefox default browser during installation

Post by jpa » Tue May 05, 2009 4:26 pm

You should probably ignore everything I typed before as I may have figured out what's really going on. I'm able to reproduce the default browser problems using unmodified MSI files. We'll see if DraconPern concurs and can fix the behaviour.

To reproduce:
Install Firefox 3.0.9 (msiexec /i Firefox-3.0.9-en-Us.msi /qb INSTALLLEVEL=3)
Install Firefox 3.0.10 (msiexec /i Firefox-3.0.10-en-Us.msi /qb INSTALLLEVEL=3)

IE is still the default browser but it *thinks* it is not because the second Firefox MSI install sets a registry key a bit differently than IE expects triggering its "I'm not the default browser" prompt.

My not exhaustive testing says HKCR\ftp\shell\open\command\(Default) should be ""C:\Program Files\Internet Explorer\IEXPLORE.EXE" %1" rather than ""C:\Program Files\Internet Explorer\IEXPLORE.EXE" -nohome" that the second Firefox install sets it to.

jpa
Posts:122
Joined:Fri May 01, 2009 5:06 pm

Re: Do not make Firefox default browser during installation

Post by jpa » Tue May 05, 2009 4:33 pm

Supposedly IE looks to the keys defined in Knowledge Base article 224816 to determine if it's the default browser.

Post Reply