How to stop Firefox from automatically updating
Hi, I package software for my college. I use Altiris (Symantec Management Agent) to deploy Firefox. I keep having a problem where Altiris will have the updated version of Firefox, and then a minor update to Firefox is released and it breaks Firefox. Like right now we have 68.0.1 packaged, and 68.0.2 just came out and Firefox automatically updates to that. Firefox won't work when Altiris installs 68.0.1 because of the detection check looking to see if Firefox 68.0.1 is installed, but it doesn't so it installs 68.0.1. Firefox then says that I'm using an old version and need to make a new profile and I lose my bookmarks, internet history, and logins. We would like to prevent this from happening.
所有回覆 (5)
Select the “Menu” button in the upper-right corner, then choose “Options“.
Select “General” on the left pane. Scroll down to the “Firefox Updates” section. Select one of the following options as desired: ... Check or uncheck the “Use a background service to install updates” option as desired.
Sorry but that doesn't help me. I'm looking for a command line solution. This is the mozilla.cfg file we use: //Firefox Default Settings // set Firefox Default homepage defaultPref("browser.startup.homepage","data:text/plain,browser.startup.homepage=https://www.google.com") // disable default browser check pref("browser.shell.checkDefaultBrowser", false); pref("browser.startup.homepage_override.mstone", "ignore"); // disable application updates pref("app.update.enabled", false) // disables the 'know your rights' button from displaying on first run pref("browser.rights.3.shown", true); // disables the request to send performance data from displaying pref("toolkit.telemetry.prompted", 2); pref("toolkit.telemetry.rejected", true);
Here's the cmd file: REM Uninstall older versions of Firefox(32 &64-bit) if exist "%ProgramFiles(x86)%\Mozilla Firefox\uninstall\helper.exe" "%ProgramFiles(x86)%\Mozilla Firefox\uninstall\helper.exe" -ms if exist "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" -ms REM Installing Firefox "Firefox Setup 68.0.1.exe" -ms REM Install 64-bit customisations if exist "%programfiles%\Mozilla Firefox\browser\" copy /Y "override.ini" "%programfiles%\Mozilla Firefox\browser\" if exist "%programfiles%\Mozilla Firefox\" copy /Y "mozilla.cfg" "%programfiles%\Mozilla Firefox\" if exist "%programfiles%\Mozilla Firefox\defaults\pref\" copy /Y "local-settings.js" "%programfiles%\Mozilla Firefox\defaults\pref\" REM Install 32-bit customisations if exist "%ProgramFiles(x86)%\Mozilla Firefox\browser\" copy /Y "override.ini" "%ProgramFiles(x86)%\Mozilla Firefox\browser\" if exist "%ProgramFiles(x86)%\Mozilla Firefox\" copy /Y "mozilla.cfg" "%ProgramFiles(x86)%\Mozilla Firefox\" if exist "%ProgramFiles(x86)%\Mozilla Firefox\defaults\pref\" copy /Y "local-settings.js" "%ProgramFiles(x86)%\Mozilla Firefox\defaults\pref\" REM Removes Firefox Desktop Icon - Windows 7 / 8 if exist "%public%\Desktop\Firefox.lnk" del "%public%\Desktop\Firefox.lnk" REM Detects version of Windows then installs Media Feature Pack for that version silently no restart reg query "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion" /v ReleaseId |find "1903" && wusa Windows_MediaFeaturePack_x64_1903_V1.msu /quiet /norestart reg query "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion" /v ReleaseId |find "1809" && wusa Windows_MediaFeaturePack_x64_1809Oct.msu /quiet /norestart reg query "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion" /v ReleaseId |find "1803" && wusa Windows_MediaFeaturePack_x64_1803.msu /quiet /norestart
由 Dio 於
How do you completely turn off update checks in Firefox v64? You can use a policies.json file to disable updates for all users. https://github.com/mozilla/policy-templates/blob/master/README.md or https://winaero.com/blog/disable-updates-firefox-63-above/
im sorry also for your trouble i know how frustrating it is theree are 2 options here From Firefox Menus
Select the “Menu” Menu Button button in the upper-right corner, then choose “Options“. Select “General” on the left pane. Scroll down to the “Firefox Updates” section. Select one of the following options as desired: Automatically install updates Check for updates, but let me choose whether to install them Never check for updates Check or uncheck the “Use a background service to install updates” option as desired.
From about:config Menuol> Type “about:config” in the address bar, then press “Enter“. Search for the “app.update.auto” setting. Double-click the “app.update.auto” option to toggle the setting. If set to “true“, automatic updates are enabled. If set to “false“, automatic updates are disabled. Via prefs.js fileol> Close Firefox. Navigate to the following location based on your operating system.
Windows XP/Vista/7/8/10 – “%APPDATA%\Mozilla\Firefox“ Unix/Linux – “~/.mozilla/“ Mac OS X – “~/Library/Mozilla/” or “~/Library/Application Support/“
Open the “Profiles” folder. Open the folder that represents the profile you would like to edit. The name of the folder will vary. It is usually a bunch of characters, followed by “.default”. Open the prefs.js file with a text editor like Notepad. Look for a line that contains app.update.enabled. If it doesn’t exist, add a line for it in the file and set it as desired using these examples:
user_pref("app.update.enabled", true); = Automatic updates enabled user_pref("app.update.enabled", false); = Automatic updates disabled
i ho-pe oneof these works for you, i have a dell pc w win 10 home and it workedfor me david
shooter said
im sorry also for your trouble i know how frustrating it is theree are 2 options here From Firefox Menus Select the “Menu” Menu Button button in the upper-right corner, then choose “Options“. Select “General” on the left pane. Scroll down to the “Firefox Updates” section. Select one of the following options as desired: Automatically install updates Check for updates, but let me choose whether to install them Never check for updates Check or uncheck the “Use a background service to install updates” option as desired. From about:config Menuol> Type “about:config” in the address bar, then press “Enter“. Search for the “app.update.auto” setting. Double-click the “app.update.auto” option to toggle the setting. If set to “true“, automatic updates are enabled. If set to “false“, automatic updates are disabled. Via prefs.js fileol> Close Firefox. Navigate to the following location based on your operating system. Windows XP/Vista/7/8/10 – “%APPDATA%\Mozilla\Firefox“ Unix/Linux – “~/.mozilla/“ Mac OS X – “~/Library/Mozilla/” or “~/Library/Application Support/“ Open the “Profiles” folder. Open the folder that represents the profile you would like to edit. The name of the folder will vary. It is usually a bunch of characters, followed by “.default”. Open the prefs.js file with a text editor like Notepad. Look for a line that contains app.update.enabled. If it doesn’t exist, add a line for it in the file and set it as desired using these examples: user_pref("app.update.enabled", true); = Automatic updates enabled user_pref("app.update.enabled", false); = Automatic updates disabled i ho-pe oneof these works for you, i have a dell pc w win 10 home and it workedfor me david
That doesn't work for me. Please read my previous reply.