Firefox extension xpi jar file MUST be in chrome directory.

Peter Wilson <[email protected]> Tue, 01 Mar 2005 20:39:59 -0800
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
This took a lot of finding out due to the complete lack of documentation.

When perfoming an extension install in the user profile.

1. you do not need a install.js (it is ignored)
2. your jar file  MUST be stored in the xpi file with a chrome directory 
path.
Your xpi should look like:
File			Path
----------------------------
install.rdf
<myprojectname>.jar   chrome/

Otherwise you get the following:

1. Firefox will install your extension and say it will be installed when 
Firefox restarts.
2. Your instal.log says the install was successful (but it is lying).
3. When you reload your extension is NOT fine it is marked to be 
uninstalled on the next reload.

4. Don't expect any debugging help from logComment, alert, or confirm = 
they are all stubbed out.

Have a nice day - I just did.