XPI install MIME type

80 views
Skip to first unread message

cganoe

unread,
Jan 20, 2012, 12:14:15 PM1/20/12
to Pencil Users
It seems like Firefox does not recognize the current XPI download as
an Add-on to install. You have to download the file, and then manually
tell Firefox to install the file.

Except, I wanted to try Pencil out on Firefox for Android, and
currently there seems to be no way in it to do a manual install.

Basically it says the server needs to include the MIME type
(application/x-xpinstall) for Firefox to recognize it to install.

https://developer.mozilla.org/en/Extension_Packaging

Is there any place where I could grab the latest XPI where the MIME
type is set up for this?

Thanks.

Craig

Werner Flamme

unread,
Jan 26, 2012, 12:54:06 PM1/26/12
to penci...@googlegroups.com
cganoe [20.01.2012 18:14]:


The MIME definition is made on the host where Firefox runs, not inside
an XPI package.

Maybe you can use the Options -> Applications menu and its "Mozilla
Platform Cross Installation Module" entry to have Firefox working on the
XPI. This should be "Use Firefox (Standard)" or "Ask", and not "Download".

HTH
Werner

cganoe

unread,
Jan 30, 2012, 9:37:01 AM1/30/12
to Pencil Users
Thanks for the response, but the type comes from the web server
providing the download. Please read the page I provided the link to
under "Since most HTTP servers are not configured to return this MIME
type for the .xpi extension by default ...".

I don't think the menus you mention are available in the Android
version of Firefox.

Craig

On Jan 26, 12:54 pm, Werner Flamme <werner.fla...@googlemail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages