Fungování této stránky je z důvodu údržby dočasně omezeno. Pokud žádný článek nápovědy nevyřeší váš problém a potřebujete se zeptat na další řešení, napište nám na Twitter @FirefoxSupport nebo Reddit /r/firefox.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

Not able to install .xpi file in firefox

  • 4 odpovědi
  • 37 má tento problém
  • 1 zobrazení
  • Poslední odpověď od 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

Zvolené řešení

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.

Přečíst dotaz v kontextu 👍 1

Všechny odpovědi (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

Zvolené řešení

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