Search code examples
wixwindows-installerinstallation

How to create .msi installer with WiX


Can someone help me understand how WiX works? I have a directory structure which I would like to create an installer for. I have generated the for the directory structure with heat.exe and when I build the setup project it generates an .msi file but I don't think it installs anything.

Maybe someone can walk me through the steps of generating a .msi installer.

Any advise is appreciated, Thank you


Solution

  • WiX is a language (XML/XSD) that serves as a way of authoring (compiling) Windows Installer (.MSI) databases. WiX doesn't install anything, MSI does.

    I maintain an open source project called IsWiX. The concept is simple. IsWiX provides additional WiX project templates (scaffolding) and graphical designers to assist you in creating installer. Then as you gain knowledge of WiX and MSI you can make additional tweaks of the WiX XML by hand and go beyond what IsWiX currently knows how to author.

    Here's a video showing how to author, build and test an MSI to deploy an IIS website in a mere 3 minutes.

    Update: IsWiX has tutorials now.