Stephan
Stephan

Reputation: 43013

This add-on could not be installed because it appears to be corrupt

Here is the structure of my sample addon:

My Selenium-IDE structure

Here is how I build my XPI file:

cd my-addon
C:\Progra~1\7-Zip\7z.exe a -r -y -tzip ../my-addon.xpi *

When I try to load the resulting xpi in Firefox, I get the following error:

This add-on could not be installed because it appears to be corrupt.

What am I missing ?

Upvotes: 3

Views: 4354

Answers (1)

erikvold
erikvold

Reputation: 16518

Something is wrong with your install.rdf or chrome.manifest or the 7z.exe zip command isn't putting those files in the root of the resulting xpi file, without being able to see the contents of the install.rdf or chrome.manifest though I am guessing the issue is in there, but double check the xpi is being created properly too.

Upvotes: 5

Related Questions