This WiX Snippet contains demonstrates how to create a Windows application installer msi using the WiX Toolset. The installer also installs the required Microsoft CRT runtime by using a merge module, the CRT merge modules are installed as part of a normal Visual Studio installation.
From a Microsoft Visual Studio command prompt:
> mkdir wixsnippet
> cd wixsnippet
> git clone git@github.com:fun4jimmy/wixsnippet-crtmergemodule.git crtmergemodule
> cd crtmergemodule
> nmake
Directory | Contents |
---|---|
application | Code for a simple c application. |
installer | WiX script to make an installer for the application. |
- Microsoft Visual Studio 2012, 2013 or 2015
- cl.exe - used to compile .c source files.
- link.exe - used to link the compiled c object files in to the application executable.
- nmake.exe - used as the build chain for the project
- Any version of the WiX Toolset
- candle.exe - used to compile the .wxs WiX script files
- light.exe - used to link the compiled WiX object files in to the application installer.