The bamse package

[Tags:bsd3, library]

Bamse is a framework for building Windows Installers for your Windows applications, giving you a comprehensive set of features to put together MSIs using Haskell.

Bamse lets you author installer generators, i.e., applications that will generate Windows Installers when invoked (and pointed at the files and other resources to include for that particular installer instance.) Bamse is also accessible as a library, letting you integrate MSI creation into your codebase.

The package has a number of example templates showing how to specify a generator; real examples that have been used to ship software by a number of projects and companies. See the templates/ directory; one good way to get started is to modify one of these to suit the needs of the installers you are looking to create.

For a worked example of how to build installers from your Cabal packages, and possibly automatically install them when running the MSI, see examples/Cabal.hs (and the README in that directory.)

[Skip to Readme]


Versions 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5
Dependencies base (<3 || >=4), com (>=1.2.3), directory, filepath, HUnit, old-time, pretty, process, QuickCheck, regex-compat [details]
License BSD3
Author Sigbjorn Finne <>
Stability Unknown
Category System
Uploaded Sat Apr 25 23:50:42 UTC 2009 by SigbjornFinne
Downloads 1169 total (14 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-12-10 [all 6 reports]


  • Bamse
    • Bamse.Builder
    • Bamse.DiaWriter
    • Bamse.Dialog
    • Bamse.DialogUtils
    • Bamse.GhcPackage
    • Bamse.IMonad
    • Bamse.MSIExtra
    • Bamse.MSITable
    • Bamse.Options
    • Bamse.Package
    • Bamse.PackageGen
    • Bamse.PackageUtils
    • Bamse.WindowsInstaller
    • Bamse.Writer


old-baseOld, monolithic baseDisabledAutomatic
bamsegenBuild parameterized installer generator (via PACKAGE define)DisabledAutomatic
hsdotnetBuild HsDotnet installer generatorEnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for bamse

Readme for bamse-0.9.4

This is the toplevel directory of 'bamse', a tool for
creating builders for Microsoft Windows Installer packages.
See doc/ for instructions on how to get started.