We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

"[add-on] could not be installed because Firefox cannot modify the needed file"

  • 1 个回答
  • 16 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

I have been trying to install add-ons such as Firebug, Enhancer for YouTube, and TinEye Reverse Image Search from https://addons.mozilla.org/en-US/firefox/extensions/ as well as from the Add-ons Manager. However, in the case of the Add-ons Manager, I get the message "an unexpected error occured during installation". When I try installing an add-on from the url mentioned above, I get the message "[add-on] could not be installed because Firefox cannot modify the needed file".

Unfortunately, I don't think this error message is included in the "Unable to install add-ons (extensions or themes)" page of the website. I took a look at the Profile folder under Application Basics in Troubleshooting Information and searched for files with the name "extensions". I followed the instructions for corrupt extension files and was only able to find and delete a file named "extensions.json". Upon restarting Firefox, I was still unable to install any add-ons and a new "extensions.json" was created.

Also, while on the add-on page (url mentioned above), I checked the Permission section of the Page Info and the radio button "Allow" for "Install Add-ons" was checked.

I have been trying to install add-ons such as Firebug, Enhancer for YouTube, and TinEye Reverse Image Search from https://addons.mozilla.org/en-US/firefox/extensions/ as well as from the Add-ons Manager. However, in the case of the Add-ons Manager, I get the message "an unexpected error occured during installation". When I try installing an add-on from the url mentioned above, I get the message "[add-on] could not be installed because Firefox cannot modify the needed file". Unfortunately, I don't think this error message is included in the "Unable to install add-ons (extensions or themes)" page of the website. I took a look at the Profile folder under Application Basics in Troubleshooting Information and searched for files with the name "extensions". I followed the instructions for corrupt extension files and was only able to find and delete a file named "extensions.json". Upon restarting Firefox, I was still unable to install any add-ons and a new "extensions.json" was created. Also, while on the add-on page (url mentioned above), I checked the Permission section of the Page Info and the radio button "Allow" for "Install Add-ons" was checked.

由michaelc90于修改

被采纳的解决方案

This means that Firefox needs to unpack the XPI file because the extension tries to modify some of its content and fails.

Try to install the extension in Firefox Safe Mode.

Boot the computer in Windows Safe mode with network support to see if that has effect in case security software is causing problems.

定位到答案原位置 👍 3

所有回复 (1)

more options

选择的解决方案

This means that Firefox needs to unpack the XPI file because the extension tries to modify some of its content and fails.

Try to install the extension in Firefox Safe Mode.

Boot the computer in Windows Safe mode with network support to see if that has effect in case security software is causing problems.