6.5 Creating an Installer

Windows applications are typically distributed as an installer, which not only creates the file system structure, but also adds the command line tools to the PATH, creates Start Menu entries, and establishes associations for file extensions (in our case, .oz and .ozg files are associated with oz.exe, and .oza files are associated with ozenginew.exe). Installers also provide a clean way of removing applications from your system. The only reason I see why you would want to remove Mozart is to install a new release.

Creating an installer is not necessary if you do not plan to redistribute your Mozart build. You can run Mozart from your install directory directly.

We build our installer with InnoSetup, which is a free installer for Windows programs. You can get it from http://www.jrsoftware.org/isinfo.php. Start up InnoSetup and open the script mozart/misc/mozart.iss. Then, run the script and everything should fine. Congratulations! You're the proud owner of a Mozart installer!

Denys Duchier, Leif Kornstaedt, Ralf Scheidhauer and Christian Schulte
Version 1.4.0 (20080702)