Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Not able to install .xpi file in firefox

  • 4 antwoorden
  • 37 hebben dit probleem
  • 1 weergave
  • Laatste antwoord van antonioaraujob

more options

I have created my first addon and it is working fine in dynamic mode (pointer in profiles folder to development folder). Then I created the .xpi file by compressing entire content as .zip and replacing it with .xpi. I tried to installed this. Firefox does not install the addon neither it give any error. Firefox shows the regular warning while installing the addons and ask for restart and then it restarts automatically but addon is not installed. When I go back and see the profiles directory I do not see the folder for new addon where as reset of the existing addons are there.

Also, when I decompress the .xpi file and manually created the folder in extensions folder for the addon the addon works prefectly fine.

I checked the error log but nothing there. Below is the link to addon I am struggling with. Any help would be great.

https://addons.mozilla.org/en-US/firefox/addon/format-javascript/

Thanks in advance

I have created my first addon and it is working fine in dynamic mode (pointer in profiles folder to development folder). Then I created the .xpi file by compressing entire content as .zip and replacing it with .xpi. I tried to installed this. Firefox does not install the addon neither it give any error. Firefox shows the regular warning while installing the addons and ask for restart and then it restarts automatically but addon is not installed. When I go back and see the profiles directory I do not see the folder for new addon where as reset of the existing addons are there. Also, when I decompress the .xpi file and manually created the folder in extensions folder for the addon the addon works prefectly fine. I checked the error log but nothing there. Below is the link to addon I am struggling with. Any help would be great. https://addons.mozilla.org/en-US/firefox/addon/format-javascript/ Thanks in advance

Gekozen oplossing

All files are in the root folder of that archive. You didn't move the files to folders, but added the directory path to the file. I see this file name defaults\preferences\prefs.js

You will have to create a proper directory structure in that archive and move each files to the correct directory.

Dit antwoord in context lezen 👍 1

Alle antwoorden (4)

more options

This forum is for answering questions about using Firefox. For getting help on add-on development and troubleshooting, you should post your query in the add-on development support forum: https://forums.mozilla.org/addons/viewforum.php?f=7

more options

Gekozen oplossing

All files are in the root folder of that archive. You didn't move the files to folders, but added the directory path to the file. I see this file name defaults\preferences\prefs.js

You will have to create a proper directory structure in that archive and move each files to the correct directory.

more options

Thanks cor-el for the input.

Looks like there was something wrong with my zipping utility. I changed it and now the addon works fine.

thanks for your help

dynamite - thanks for your advice too.

Appreciate the help!

more options

Dear vimu.patel, I had the same problem you posted. Following your post and cor-el answer I could install a .xpi file I have been developing successfully; my zip file was not created correctly.

Thanks