Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

firefox.exe -setdefaultbrowser does not work

  • 5 réponses
  • 4 ont ce problème
  • 6 vues
  • Dernière réponse par 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

Toutes les réponses (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!

Modifié le par cor-el

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.