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

You’re getting the error because the extension doesn’t have an ID.

Extensions and the add-on ID > When do I need an add-on ID?

For Manifest V2 extensions, you need to add an add-on ID when:
You want to install an unsigned add-on from its XPI file, rather than loading it temporarily using about:debugging .

You can set the ID with browser_specific_settings .

3 Likes