Trying to call the MozillaMaintenance service to check and install updates for Firefox
We have about 6000 windows computers, we can deploy firefox certainly fine. We are looking to see if there is a way to send a remote command/call to kickoff firefox updater.
Currently, a user , who is a non admin, can update as they please by going to about firefox in help. Which is great.
Looking to see if we can force remote clients, either sending a command line call to the computer, or perhaps sending a command to start the MozillaMaintenance service to kick off an update.
Is the beyond the capabilities of the current build of firefox, or are there solutions out there like this?
Toutes les réponses (1)
You can try if modifying or resetting some app.update.lastUpdateTime.* prefs works.
- app.update.lastUpdateTime.background-update-timer
You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);
These functions can be used in the mozilla.cfg file:
defaultPref(); // set new default value pref(); // set pref, allow changes in current session lockPref(); // lock pref, disallow changes
Note that the mozilla.cfg file is run as JavaScript with full chrome privileges, so you can run any JavaScript code that way.
See: