Your first WiX project
To get started, download the WiX toolset. It can be found at:
Once you've downloaded and installed it, open Visual Studio and select New Project | Windows Installer XML | Setup Project. This will create a project with a single .wxs
(WiX source) file. Visual Studio will usually call this file Product.wxs
, but the name could be anything as long as it ends with .wxs
.
Even the most minimal installer must have the following XML elements:
- An XML declaration
- A
Wix
element that serves as the root element in your XML document - A
Product
element that is a child to theWix
element, but all other elements are children to it - A
Package
element - A
Media
orMediaTemplate
element - At least one
Directory
element with at least ...
Get WiX 3.6: A Developer's Guide to Windows Installer XML now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.