Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox addon uninstall through registry is not working. ref - https://github.com/mozilla/policy-templates/blob/master/README.md#extensions

more options

I have installed an addon by adding a key-value to the registry under the following path similar to Software\Policies\Mozilla\Firefox\Extensions\Install\1 = "https://addons.mozilla.org/firefox/downloads/somefile.xpi" I want to uninstall the same extension. Hence I am adding another key-value pair under this- Software\Policies\Mozilla\Firefox\Extensions\Uninstall\1 = "addon_id" I am getting the addon_id by clicking on debug addons, from the list I copy the extension id of my addon. ( I am assuming this is what is meant by addon id). But no matter how many times I try this, on different machines, different addons it's not working. The addon doesn't et uninstalled.

I have installed an addon by adding a key-value to the registry under the following path similar to Software\Policies\Mozilla\Firefox\Extensions\Install\1 = "https://addons.mozilla.org/firefox/downloads/somefile.xpi" I want to uninstall the same extension. Hence I am adding another key-value pair under this- Software\Policies\Mozilla\Firefox\Extensions\Uninstall\1 = "addon_id" I am getting the addon_id by clicking on debug addons, from the list I copy the extension id of my addon. ( I am assuming this is what is meant by addon id). But no matter how many times I try this, on different machines, different addons it's not working. The addon doesn't et uninstalled.

Izabrano rješenje

You did remove the install key ?

If both install and uninstall keys for the extension are present then it is possible that you first uninstall the extension and then immediately reinstall the extension, so nothing is changed.

Pročitajte ovaj odgovor sa objašnjenjem 👍 0

All Replies (3)

more options

Odabrano rješenje

You did remove the install key ?

If both install and uninstall keys for the extension are present then it is possible that you first uninstall the extension and then immediately reinstall the extension, so nothing is changed.

more options

I thought removing the install key didn't make a difference as just removing the install key wouldn't uninstall the extension. Anyway, I went ahead and did that also. I added the key under install checked the extension is installed, copied the extension id. I deleted the install key, added the uninstall key. It's still the same behavior. The extension is still present. It's not uninstalled.

more options

I noticed something which was weird. As per the above reply to the post, I installed another extension. And the previous extension got uninstalled. Steps- 1) Install extension through install key. 2) Uninstall by removing the install key and adding the uninstall key. 3) Install some other extension through install key.

Result- The first extension got uninstalled and the second extension is installed as expected. But after the second step, the first extension wasn't uninstalled, it got uninstalled only after the third step. I seem to understand the behavior. But I don't think this is the actual expected behavior.