My add-on ships with the installation package. During installation, the extension is added to FF by means of registry - by creating a new key in the HKCU/Software/Mozilla/Firefox/Extensions. Naturally I want to be able to update my extensions independently from main application. To achieve just that I’ve setup update.rdf and hosted in on https server, adding updateURL to my extension’s package.json.
As a result I see that Firefox tries to read my update.rdf and finds update. But unable to update locally installed add-on! Logs:
1464888839764 addons.update-checker DEBUG Requesting https://path/update.rdf
1464888840017 addons.update-checker DEBUG Found an update entry for <My Addon Name> version 1.2.3
1464888840022 addons.xpi DEBUG Found an existing AddonInstall for <My Addon Name>
1464888840024 addons.manager DEBUG Found update for add-on <My Addon Name>
1464888840026 addons.manager DEBUG onUpdateFinished for <My Addon Name>
On the other hand when MyAddonName.xpi installed manually it updates beautifully.
Is there a solution to this? May be I can install add-on differently?