Parts of this page show the use of the XPInstall API. The majority of this API is now deprecated and as of Gecko 1.9 no longer available. Extension, Theme, and plug-in developers must switch away from
install.js based packages to the new packaging scheme with an
install.rdf manifest. In particular plugin developers should see how to package a plugin as an extension.