Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Some unzip tools enable to extract xpi files.

I'd be glad to know if there's a program which also enables to compress files directly to xpi.

Thank you.

share|improve this question

xpi is just zip. Just zip your files normally, and rename your with the right extension, to archive.xpi.

share|improve this answer
Thank you. I appreciate your help. – Yaron Sep 22 '12 at 13:29

An XPI (XPInstall) file is simply a ZIP file containing the extension files, with the install.rdf file at the root of the ZIP.

Just create zip file and then change its extension to xpi.


To do it directly, you will need to add a Registry entry for custom context menu item (say Compress to XPI). It will invoke a predefined .bat file which takes selected files as input and generates xpi for that.

After doing this all you need to do is, just select all files which you want to pack in xpi and from right click menu select Compress to XPI and you will have your xpi file.

share|improve this answer
Thank you. I appreciate your help. I meant to ask if it was possible to directly compress to xpi from the context menu. I guess I wasn't clrear enough. – Yaron Sep 22 '12 at 13:29
@Yaron I updated my ans. Have a look it might help... Right now I'm on mobile, ask If you need elaborate Instructions – Ankit Mishra Sep 22 '12 at 21:37
It's been a while. I guess I wasn't notified of your edited reply. I'd be grateful if you could elaborate on the .bat file. – Yaron Mar 25 '14 at 21:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .