X
Tap here to go to the mobile version of the site.

Support Forum

How can you configure Firefox to apply updates as soon as they are available?

Posted

I have a mandate to update Firefox across every machine in my enterprise within 48 hours of a new release. I have been doing this with intranet distribution tools (SCCM, etc.) but because of the frequency of Firefox updates this has become laborious.

I've been looking at the about:config settings in the "app.update" category (http://kb.mozillazine.org/Category:Preferences) and some of those seem promising. As a test, I set "app.update.silent" to TRUE and "app.update.interval" to 60 (seconds) on a legacy version of Firefox. I restarted the browser, let it sit for a few minutes then restarted it again expecting the latest update to apply, but nothing happened.

How can I script or automate via Firefox's internal settings the same update process that is triggered when users manually go to Help > About?

I have a mandate to update Firefox across every machine in my enterprise within 48 hours of a new release. I have been doing this with intranet distribution tools (SCCM, etc.) but because of the frequency of Firefox updates this has become laborious. I've been looking at the about:config settings in the "app.update" category (http://kb.mozillazine.org/Category:Preferences) and some of those seem promising. As a test, I set "app.update.silent" to TRUE and "app.update.interval" to 60 (seconds) on a legacy version of Firefox. I restarted the browser, let it sit for a few minutes then restarted it again expecting the latest update to apply, but nothing happened. How can I script or automate via Firefox's internal settings the same update process that is triggered when users manually go to Help > About?

Modified by andyblackard

philipp
  • Top 25 Contributor
  • Moderator
5315 solutions 23477 answers
hello andy, you might also want to check those two values: http://kb.mozillazine.org/App.update.download.backgroundInterval http://kb.mozillazine.org/App.update.idletime

Question owner

App.update.download.backgroundInterval was a good suggestion. Idletime won't have an effect since I have app.update.silent enabled.

However I'm still not seeing the desired effect. Currently I have the following configured:

app.update.silent = true

app.update.download.backgroundInterval = 1

app.update.enabled = true

Any other thoughts?

App.update.download.backgroundInterval was a good suggestion. Idletime won't have an effect since I have app.update.silent enabled. However I'm still not seeing the desired effect. Currently I have the following configured: app.update.silent = true app.update.download.backgroundInterval = 1 app.update.enabled = true Any other thoughts?

Modified by andyblackard

philipp
  • Top 25 Contributor
  • Moderator
5315 solutions 23477 answers

hmm, this seems to be trickier than anticipated - after a little bit of experimenting i can't find a quick way to reliably do that :-/

maybe some one else can come up with different ideas?!

hmm, this seems to be trickier than anticipated - after a little bit of experimenting i can't find a quick way to reliably do that :-/ maybe some one else can come up with different ideas?!
cor-el
  • Top 10 Contributor
  • Moderator
17540 solutions 158604 answers

The Nightly versions have these values for some of the prefs because they can be updated daily more than once because of a respin

  • app.update.interval : 7200
  • app.update.promptWaitTime : 43200

You may need to reset update timer prefs.

  • app.update.lastUpdateTime.background-update-timer

You can have a look at the comments in the source code that handles the updating process to see if that gives some ideas.

The Nightly versions have these values for some of the prefs because they can be updated daily more than once because of a respin *app.update.interval : 7200 *app.update.promptWaitTime : 43200 You may need to reset update timer prefs. *app.update.lastUpdateTime.background-update-timer You can have a look at the comments in the source code that handles the updating process to see if that gives some ideas. *http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/update/nsUpdateService.js *http://mxr.mozilla.org/mozilla-release/source/toolkit/mozapps/update/nsIUpdateService.idl *http://mxr.mozilla.org/mozilla-release/source/toolkit/mozapps/update/nsUpdateService.js#1951

Modified by cor-el

ideato 893 solutions 6250 answers

app.update.mode = 0 (download all updates without any prompt) maybe ?

default is 1 (download all updates only if there are no incompatibilities with enabled extensions, prompt otherwise)

http://kb.mozillazine.org/App.update.mode

thank you

app.update.mode = 0 (download all updates without any prompt) maybe ? default is 1 (download all updates only if there are no incompatibilities with enabled extensions, prompt otherwise) http://kb.mozillazine.org/App.update.mode thank you