Building an installer without Visual Studio
Now that you've been shown Candle and Light, it may help to see a complete example of compiling and linking a WiX project to get an MSI. First off, create a new directory for your project and call it PracticeWix
. Next, add a text file to it called InstallMe.txt
. This will give us something to install. Then, create a file with the .wxs
extension and call it PracticeWix.wxs
, as shown in the following screenshot:
Open PracticeWix.wxs
with a text editor such as Notepad and add the following markup. It will install the text file to a directory called PracticeWix
. We'll add one of the built-in WiX dialogs too.
<?xml version="1.0"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="PracticeWix" Language="1033" Version="1.0.0.0" Manufacturer="Awesome Company" UpgradeCode="B9B82C37-34EC-4F50-9D0E-0DF8F06F1F64"> <Package Compressed="yes" InstallScope="perMachine...