Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

firefox.exe -setdefaultbrowser does not work

  • 5 respostas
  • 4 têm este problema
  • 6 visualizações
  • Última resposta por the-edmeister

more options

Hi. I see another one had this very issue, but it's marked as solved.. My problem is.. -setdefaultbrowser has NO effect.. No amount of reinstalls help.. all it does is open firefox and ask if it should be default.. I don't want it to ask.. add the -silent switch and it does nothing at all (as the .setdefaultbrowser switch doesn't work!)

I need this solved for my deployment system, but so far not a single solution to setting the default browser silently works for Firefox..

Maybe I should just drop firefox and use chrome? It's inferior but at least setting it as default works

Hi. I see another one had this very issue, but it's marked as solved.. My problem is.. -setdefaultbrowser has NO effect.. No amount of reinstalls help.. all it does is open firefox and ask if it should be default.. I don't want it to ask.. add the -silent switch and it does nothing at all (as the .setdefaultbrowser switch doesn't work!) I need this solved for my deployment system, but so far not a single solution to setting the default browser silently works for Firefox.. Maybe I should just drop firefox and use chrome? It's inferior but at least setting it as default works

Todas as respostas (5)

more options
more options

Yes, indeed I am.. Here is my script:

:general
start /wait Install\firefox.exe -ms
start /wait Install\silverlight.exe /q
start /wait Install\java.exe /s WEB_JAVA=1

:browser
cd "%programfiles%\Mozilla Firefox"
start /wait firefox.exe -silent -setDefaultBrowser


Leave out -silent and it asks if you want it to be the default browser This is not a one-off problem.. I can't get it to work.. 7 local companies have the same issue and just finally came to me since the experts failed.. It seems to me this switch simply just doesn't exist!

Modificado por cor-el a

more options

or maybe... just maybe.. Is it possible that this switch does not work if the browser is installed unattended? that is if the installer is run with the -ms switch?

If that is the case, then that's a big issue, seeing as in the cases where the browser is installed silently it's really logical to assume it's because you want it to be the default browser!

I haven't tried using the switches on a firefox installed normally, but I will now

more options

I guess this problem, however critical, is of no importance whatsoever.. Well Chrome is not an option, so I guess that means my clients will just have to live with Internet Explorer! Only 1 single answer which was pointless as it didn't even address the issue!

Goodbye Firefox!

more options

Sorry that no one else had an answer for you. It's a shame that you considered my clarification question as being pointless, but you did state in your initial posting an incorrect command line variable by not having the capital letters as such.