為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

"[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.