Will it also update the extension if the xpi in the url has a new version (in spite of having the same name)?No. If i remember well there's no way to 'lock' upgrades, that are automatic; eg, you can install a particular version extension, but upgrades are off (globally) or automatic from extension's repository.
So, is it enough to change the name of the xpi?
Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
El 17/3/21 a les 8:32, Dimas Streich (Informàtica ICS Girona) ha escrit:
Since 78 ESR you can disable automatic updates and do a manual update via policy. If you set the new version url in ExtensionSettings the extension will be updated.Will it also update the extension if the xpi in the url has a new versionNo. If i remember well there's no way to 'lock' upgrades, that are
(in spite of having the same name)?
automatic; eg, you can install a particular version extension, but
upgrades are off (globally) or automatic from extension's repository.
So, is it enough to change the name of the xpi?
Bye
OK, based on that same documentation, I put this snippet in
HKLM\Software\Policies\Thunderbird\ExtensionSettings
{
"sogo-co...@inverse.ca": {
"installation_mode": "force_installed",
"install_url": "https://wetron.es/sogo-co...@inverse.ca.xpi"
}
}
And I see this in the error console:
JsonSchemaValidator.jsm: Object expected but not received
JsonSchemaValidator.jsm:303
Enterprise Policies: Invalid parameters specified for ExtensionSettings.
EnterprisePolicies.js:161
In fact I get the same error if I verbatim copy the example
{
"*": {
"blocked_install_message": "Custom error message.",
"install_sources": ["about:addons","https://addons.mozilla.org/"],
"installation_mode": "blocked",
"allowed_types": ["extension"]
},
"uBl...@raymondhill.net": {
"installation_mode": "force_installed",
"install_url":
"https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
},
"https-ev...@eff.org": {
"installation_mode": "allowed"
I tried the same with firefox and it works[*], so I guess the feature is
broken in thunderbird.
[*] But it's not what I expected: I used this in the registry
{
"uBl...@raymondhill.net": {
"installation_mode": "force_installed",
"install_url":
"https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
}
}
and it installed the extension in my firefox profile.
I removed the xpi from there and it was *not* reinstalled until I
changed the url in the registry.
Thank you for removing a perfectly working mechanism and replacing it
with a more difficult and broken one.
Bye
Mandi! Dimas Streich (Informàtica ICS Girona) In chel di` si favelave...Since 78 ESR you can disable automatic updates and do a manual update via policy. If you set the new version url in ExtensionSettings the extension will be updated....at the cost of disable globally extensions update, eg also user-installed extensions are not updated. So, if you have a very strict environment where users cannot install extensions, could fit; but if you leave users to add their extensions, then they have to upgrade it manually.