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.

_______________________________________________
Mozilla-xpinstall mailing list
Mozilla-xpinstall@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-xpinstall

Reply via email to