It is surprisingly easy to package and create an installer for a XUL application that you've written. Anyone who uses your application will thank you for it; it will save them a lot of time and effort. Keep reading to see how it's done.
Creating an XUL App Installer - Getting Started (Page 2 of 4 )
I'll be using the application created in the last XUL series as an example for this installer. If you're not, you'll need to adjust the file names and stuff accordingly, but the basic premise should be the same.
These variables represent information also found in the contents.rdf file located with your main application file. Next, create a variable to hold the name of the file that will be copied to the user's system:
file = "xuleditlite.jar";
Finally, we can save time later by creating variables to hold the information to be written to the installed-chrome file: