X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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.

Chosen solution

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.

Read this answer in context 0
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17757 solutions 160584 answers

Chosen Solution

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.

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.
Was this helpful to you?
Quote

Question owner

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.

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.
Was this helpful to you?
Quote

Question owner

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.

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.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.