Windows Installer
Unrestricted access to Windows Installer functionality!
Open Source
Open source!


Plain XML based source scripts!
Free, no strings attached!
Build Automation
Command-line interface for automated application build process!
Thriving community support!
Why WiX?
What are Include Files?

What are Include Files?

WiX also allows for the use of include files. These files, which are analogous to header (.h) files for C++, are stored with in a .wxi file. The root element of this file is <Include/>. Everything under the root element will be inserted when this file is included in another source or include file.

The <?Include .....?> tag used in a .wxs file tells the preprocessor to treat the contents of a specified file as if those contents had appeared in the source .wxs file at the point where the directive appears.

The beauty of using include files is that you don’t have to remember the contents of the include file. The <?Include .....?> tag is all you need to access your previous work. No need for copy pasting! This is the basic example of WiX code reuse.