为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 9 个回答
  • 1 人有此问题
  • 239 次查看
  • 最后回复者为 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.