bamse: A Windows Installer (MSI) generator framework

[ bsd3, library, system ] [ Propose Tags ]

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]


  • 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


Automatic Flags

Old, monolithic base


Build parameterized installer generator (via PACKAGE define)


Build HsDotnet installer generator


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


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 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 BSD-3-Clause
Author Sigbjorn Finne <>
Category System
Uploaded by SigbjornFinne at 2009-05-15T21:27:29Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables runTests, bamseGen, hsDotnetGen
Downloads 4519 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-10-27 [all 10 reports]

Readme for bamse-0.9.5

[back to package description]
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.