Firefox package - prevent automatic updates

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

February 12, 2019 - 09:41

Good morning,
I've noticed on my network that, since Firefox version 64, the update is once again being offered by Firefox. I still use the "config-for-firefox" package with a mozilla.cfg file that disables automatic updates. And I force its reinstallation in the Firefox packages

Code: Select all

    WAPT.forget_packages('dst-config-for-firefox')
    WAPT.install('dst-config-for-firefox')
Extract from mozilla.cfg:

Code: Select all

// Disable Auto Updates
pref("app.update.enabled", false);
pref("extensions.update.enabled", false);
pref("app.update.service.enabled", false);
lockPref("app.update.auto", false);
lockPref("app.update.mode", 0);
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

February 13, 2019 - 09:57

Good morning,

Indeed, upon reviewing the Mozilla Enterprise mailing list this morning, the app.update.enabled option has been removed starting with version 63 of the mainstream version of Firefox: https://mail.mozilla.org/pipermail/ente...00172.html

This setting is replaced by "DisableAppUpdate" in Firefox group policies

Mozilla provides a set of *.admx configuration templates for Active Directory: https://github.com/mozilla/policy-templates/releases

Edit:

To manually apply a Firefox policy with a WAPT package:
  • Create a policies.json file with the desired configuration elements in the new format
  • Create a distribution folder in the Firefox installation folder
  • filecopyto of the policies file in the distribution folder
Sincerely,

Alexander
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

February 13, 2019 - 3:26 PM

Thanks for the info!
It works with this policies.json file, for example:

Code: Select all

{
 "policies": {
 "BlockAboutConfig": true,
 "BlockAboutProfiles": true,
 "DisableAppUpdate": true,
 "OverridePostUpdatePage": true,
 "DisableFirefoxAccounts": true,
 "DisableMasterPasswordCreation": true,
 "DisableTelemetry": true,
 "DisableFeedbackCommands": true
 }
}
Locked