browser.xpi/install.js has been mentioned as a good starting place for
learning about xpinstall and how it works, so while trying to put
together some xpinstall HOW-TO documentation (and trying to figure out
how it works), I thought it would be a good idea to try and describe
what's going on in that install script.
I have a draft of "The Annotated Browser XPI Install" at
http://www.brownhen.com/browser_xpi.html for your reading enjoyment.
Hope it's useful. If it is, I am going to incorporate it into the
XPInstall API Reference (which ought to be ready in the next couple of
days) as soon as I can. If you have any feedback, additions, comments or
comments on this article, please let me know.
Thanks a lot
-ian