You now have a working Mozilla extension installer! To test it, try installing the extension on a fresh copy of Mozilla by loading the file in your Mozilla browser (this works whether you load it from the web or from your local hard drive via a
file:/// URL). Mozilla will automatically detect that the file is an installer and ask you if you want to install the software. Try installing the extension, restarting Mozilla, and see if it works.
If the version you created in this tutorial doesn't work, compare it to this working version to help figure out the problem.
Future directions for development of the tutorial and/or coursework:
- Mozilla applications often store their CSS and image files in a separate
skinsubdirectory within the installation directory. How would you modify the XPI structure and installer script to install these files in that subdirectory?
- How could you modify the extension to load the Tinderbox page when you click on the status icon?
- Mozilla has a fourth UI layer--localized text--that wasn't discussed in the tutorial because there is no text to localize. How could it be added to the extension if necessary?
- Tinderbox actually keeps track of more than one codebase. In particular, it tracks both the main Mozilla codebase (the trunk) and a stable branch. How could you modify tinderstatus to show the status of both the trunk and the branch?
- This extension can be installed into Netscape 7 without problems. Firefox has slightly different chrome registry requirements, so you may need to modify the
contents.rdffiles. For example, you need to change