搜尋 Mozilla 技術支援網站

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

了解更多

Unable to Stop Automatic Firefox Update and Pop-up

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Mike Kaply

more options

Hi Team,

We have created a package for ESR version, but when we tested with older version i.e. 78.4.1. We are not able to stop the Automatic Mozilla Firefox update through script. Attaching the script command:


// Disable Auto Update lockPref("app.update.enabled", false); lockPref("app.update.auto", false); lockPref("app.update.service.enabled", false); lockPref("app.update.mode", 0); lockPref("app.update.BITS.enabled", false); lockPref("app.update.auto.migrated", false); lockPref("app.update.checkInstallTime", false); lockPref("app.update.staging.enabled", false); lockPref("app.update.doorhanger", false); lockPref("app.update.url", "https://google.com/");

Install command that we used is:

msiexec.exe /i "%~dp0FirefoxSetup78.4.1esr_x64.msi" INSTALL_MAINTENANCE_SERVICE=false /qn

======================================================================

echo Script to disable auto update of Firefox using Registry...

======================================================================

REG ADD HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox /v AppAutoUpdate /t REG_DWORD /d 0 /f

=======================================================================

echo Script for customization firefox ...

=======================================================================

If exist "%ProgramFiles%\Mozilla Firefox\" copy /Y "%~dp0override.ini" "%ProgramFiles%\Mozilla Firefox\browser\" If exist "%ProgramFiles%\Mozilla Firefox\" copy /Y "%~dp0mozilla.cfg" "%ProgramFiles%\Mozilla Firefox\" If exist "%ProgramFiles%\Mozilla Firefox\" copy /Y "%~dp0local-settings.js" "%ProgramFiles%\Mozilla Firefox\defaults\pref"


Same worked perfectly with 68.10. Does anyone has any idea what we are doing wrong.

Hi Team, We have created a package for ESR version, but when we tested with older version i.e. 78.4.1. We are not able to stop the Automatic Mozilla Firefox update through script. Attaching the script command: // Disable Auto Update lockPref("app.update.enabled", false); lockPref("app.update.auto", false); lockPref("app.update.service.enabled", false); lockPref("app.update.mode", 0); lockPref("app.update.BITS.enabled", false); lockPref("app.update.auto.migrated", false); lockPref("app.update.checkInstallTime", false); lockPref("app.update.staging.enabled", false); lockPref("app.update.doorhanger", false); lockPref("app.update.url", "https://google.com/"); Install command that we used is: msiexec.exe /i "%~dp0FirefoxSetup78.4.1esr_x64.msi" INSTALL_MAINTENANCE_SERVICE=false /qn ================================================================================== echo Script to disable auto update of Firefox using Registry... ================================================================================== REG ADD HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox /v AppAutoUpdate /t REG_DWORD /d 0 /f =================================================================================== echo Script for customization firefox ... =================================================================================== If exist "%ProgramFiles%\Mozilla Firefox\" copy /Y "%~dp0override.ini" "%ProgramFiles%\Mozilla Firefox\browser\" If exist "%ProgramFiles%\Mozilla Firefox\" copy /Y "%~dp0mozilla.cfg" "%ProgramFiles%\Mozilla Firefox\" If exist "%ProgramFiles%\Mozilla Firefox\" copy /Y "%~dp0local-settings.js" "%ProgramFiles%\Mozilla Firefox\defaults\pref" Same worked perfectly with 68.10. Does anyone has any idea what we are doing wrong.

被選擇的解決方法

Those preferences no longer work to disable automatic updates.

You need to disable updates using policy:

https://github.com/mozilla/policy-templates/blob/master/README.md#disableappupdate

None of those other preferences are necessary.

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

所有回覆 (1)

more options

選擇的解決方法

Those preferences no longer work to disable automatic updates.

You need to disable updates using policy:

https://github.com/mozilla/policy-templates/blob/master/README.md#disableappupdate

None of those other preferences are necessary.