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

How can I silently install Firefox without the "You've reinstalled Firefox" message?

  • 9 réponses
  • 1 a ce problème
  • 239 vues
  • Dernière réponse par Loei

more options

Before getting the uninstall command from the registry I installed firefox 62.0.2.6837. Then I created a silent uninstall script which works great.

Now I'm trying to create a silent install script. The /S parameter does not kick off the setup, but the -ms does. However, it does not install silently because the setup keeps telling me that I'm reinstalling Firefox and it asks if it needs to clean up old data for a fresh/clean experience.

How do I supress this message for a completely silent (re)install?

Thank you for any help in advance.

Before getting the uninstall command from the registry I installed firefox 62.0.2.6837. Then I created a silent uninstall script which works great. Now I'm trying to create a silent install script. The /S parameter does not kick off the setup, but the -ms does. However, it does not install silently because the setup keeps telling me that I'm reinstalling Firefox and it asks if it needs to clean up old data for a fresh/clean experience. How do I supress this message for a completely silent (re)install? Thank you for any help in advance.

Solution choisie

So we think you're trying to use silent mode on the stub installer, but that doesn't work (and it presents the message). You should be using the full installer:

https://www.mozilla.org/en-US/firefox/all/

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (9)

more options

hi, are you putting a preconfigured firefox profile in place for these installations? if so, then please try to put the following line into the prefs.js file:

user_pref("browser.disableResetPrompt", true);
more options

Hi,

No I am not using a preconfigured profile.

I just want to make sure than when deploying Firefox on a computer that has had it installed before, it does not come with this prompt.

more options

ok, the you might want to use autoconfig - that's a way to set certain preferences in all firefox profiles by placing some files within the firefox installation folder: Customize Firefox using AutoConfig

in the firefox.cfg you can put these two lines:

//
lockPref("browser.disableResetPrompt",true);

...then the message won't be shown on the first run of firefox after installation, regardless if there is an existing old/unused profile in place already.

more options

Hi,

Thank you for your help so far. The message is not shown at the first run of Firefox, but during installation, which is supposed to be silent.

I need to silently install Firefox without seeing the message.

more options

Is Firefox getting launched at the end of the installation?

The resetUninstalled.message seems to be related to resetSupported()

Services.policies.isAllowed("profileRefresh") determines whether to show this message. Otherwise you would have to remove or hide existing profiles during the installation.

more options

Thank you for your help. This describes the exact message I am seeing:

  1. LOCALIZATION NOTE (resetUninstalled.message): %S is brandShortName.

resetUninstalled.message=Looks like you’ve reinstalled %S. Want us to clean it up for a fresh, like-new experience?

How do I build an installation string that will not show this message?

more options

Can you post a screenshot of what you are seeing? I'm still not clear whether this is coming from Firefox or the installer.

more options

Solution choisie

So we think you're trying to use silent mode on the stub installer, but that doesn't work (and it presents the message). You should be using the full installer:

https://www.mozilla.org/en-US/firefox/all/

more options

The message pops up during installation and asks if it needs to clean up files left behind for a fresh experience.

Now the good part: Your suggestion about the full installer hals solved the issue and Firefox now installs completely silent!

Thank you for your help.