搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

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.

被采纳的解决方案

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.

定位到答案原位置 👍 0

所有回复 (3)

more options

选择的解决方案

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.