Skip to main content
Version: v3

Project Templates

The WiX Visual Studio package provides the following Visual Studio project templates:

  • WiX Project - used to create a new Windows Installer package (.msi) file. Each new WiX project includes a .wxs file that consists of a <Product> element that contains a skeleton with the WiX authoring required to create a fully functional Windows Installer package. The <Product> element includes <Package>, <Media>, <Directory>, <Component> and <Feature> elements.
  • WiX Library Project - used to create a new WiX library (.wixlib) file. A .wixlib file is a library of setup functionality that can be easily shared across different WiX-based packages by including it when linking the setup package. Each new WiX library project includes a .wxs file that consists of an empty <Fragment> element that can be populated with WiX authoring that can be shared by multiple packages.
  • WiX Merge Module Project - used to create a new Windows Installer merge module (.msm) file. A merge module contains a set of Windows Installer resources that can be shared by multiple Windows Installer installation packages by merging the contents of the module into the .msi package. Each new WiX merge module project includes a .wxs file that consists of a <Module> element that contains a skeleton with the WiX authoring required to create a fully functional merge module. The <Module> element includes <Package>, <Directory> and <Component> elements.

To create a new project:

  1. Click on File | New | Project  on the Visual Studio menu.
  2. Navigate to the Windows Installer XML node.
  3. Select the project template and press OK.