Error when installing my own Add-On
I've written a small Add-On for firefox. I can use it without problems if I load it temporary over about:debugging(even the packed zip) but if I try to install it permanent over about:addons -> install Add-On from file I get an error that the plugin "seems to be corrupted". I didn't sign it but I tried to install it with about:config -> xpinstall.signatures.required: false with the same error.
Izabrano rješenje
You need Firefox 52 ESR to be able to use xpinstall.signature.required. Firefox 48+ releases including 57 do not support this pref.
Pročitaj ovaj odgovor u kontekstu 👍 0Svi odgovori (8)
I now asked it there but because I'm new there I am temporary blocked until a moderator unlocks me.
JustAYoungHobbyDeveloper said
I now asked it there but because I'm new there I am temporary blocked until a moderator unlocks me.
I will flag this thread, so a moderator will see it and maybe give you some advice ..... Hang in there !
Do you mean that you are blocked on the Add-ons forum or Add-ons website?
If there is an error with installing the extension then there is likely something wrong with the signing or with the packing. Note that this might be a problem with security software that wants to inspect the archive.
You can post a link to the file or send the link via PM to see if I can replicate this if you aren't able to ask at the discourse website.
My extension is just locally save on my hard drive. I think there is nothing wrong with the packaging beacuse I can load the plugin temporary over about:debugging with no problems. I didn't upload it anywhere and it's not signed. It's just a .zip file created with the windows explorer. When I try to install my extension normally(about:addons > install extension from file) firefox just returns the error that the plugin "seems to be corrupted". I don't think it's not the signed-problem because I changed the key xpinstall.signature.required to false.
PS: I'm blocked on https://discourse.mozilla.org because I'm new there.
Odabrano rješenje
You need Firefox 52 ESR to be able to use xpinstall.signature.required. Firefox 48+ releases including 57 do not support this pref.
Izmjenjeno
Oh, OK thanks