為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 9 回覆
  • 1 有這個問題
  • 5 次檢視
  • 最近回覆由 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.

被選擇的解決方法

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/

從原來的回覆中察看解決方案 👍 1

所有回覆 (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

選擇的解決方法

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.