packages feed

bamse-0.9.1: doc/howto.html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>Getting started with Bamse</title>
</head>

<body>
<h1>Getting started</h1>

Here are the steps you need to follow to author your own installer
builder:

<ul>
<li>
Install GHC and Bamse. Assuming here that you've already 
done that.
<li>
Build Bamse; by default, it uses the 'Base' template,
resulting in an installer builder, mkInstaller.exe, which
simply creates empty MSI installers.

<li>
Building Bamse is done by typing 'make' in the toplevel directory,
provided you've first changed the setting of HC in the Makefile to
point to your local installation of GHC.

<li>
Create your own template module. Have a look at the 
<a href="using.html">using</a> document for
information about what module signature you need to
supply. Consulting/copying examples in templates/ is also a good way
to get started.

<li>
Hook in your template by adding an import to it in Main.hs. To keep
things simple (by avoiding editing of the Makefile), just add the
template module to the templates/ directory.

<li>
re-make Bamse to produce a 'mkInstaller' builder for your project.
Use --help to discover the set of options supported, but typical
invocations are:
  
<pre>
    foo$ mkInstaller --generate-guids -o myInstaller.msi c:/path/to/the/top/of/my/dist/tree
    foo$ mkInstaller -u -o myInstaller.msi c:/path/to/the/top/of/my/dist/tree
</pre>

The latter one re-uses the GUIDs of the existing 'myInstaller.msi'
to create a new one. You want to do that to when creating updates/bugfixes
of existing products without upgrading its version numbers; please notice
that it overwrites the .msi in the end, so please make a copy if the
MSI is precious..

<li>
Ship the resulting installer and/or give us feedback on what did or
didn't work for you, plus suggestions for improvements.
</ul>

<hr>
<address>
<a href="http://www.galois.com/~sof/">sof</a>
</address>
<!-- hhmts start --> Last modified: Mon Oct 25 09:44:26 Pacific Daylight Time 2004 <!-- hhmts end -->
</body> </html>