Download and install WiX (WiX Installer).
Re-start Visual Studio and you will be able to create a new WiX Project.
To add new items to the installer project, right click on the project node followed by Add, New Item.
msiexec /i bin\release\installer.msi /l*v Install.log
To add a minimal user interface,
<UIRef Id="WixUI_Minimal" /> </Product> </Wix>
If you are on the command line, add
-ext WixUIExtensionto the call to
If you have a WIX project in visual studio, add a reference to
WixUIExtensionby right clicking on
Referencesin the Solution Explorer.
Package GUIDs need to be different with each package you create. To make it easier and less likely to forget to issue a new one, we can instruct WiX to autogenerate one by typing an asterisk - but remember, this only applies to package GUIDs: all other GUIDs will need to stay unique and kept recorded for times to come:
<Package Id='*' Keywords='Installer'
yeswill embed the
cabfile into the
msifile creating a single self-contained file for download or shipment on media.
Id) must be unique because we will cross-reference them all across the WiX source file….
The component is the atomic unit of things to be installed. A component should only contain items that belong together so strongly that they always need to be installed or removed together.