Introduction:
In this article,i am going to explain about Windows installer XML (Wix) and its uses.
Main:
What is WIX?
Simply WIX is used for creating windows installer packages in windows applications.
The Windows Installer XML (WiX) platform is a set of tools and specifications that allow you to easily create Windows Installer database files (MSI and MSM). The WiX tools model the traditional compile and link model used to create executables from source code. For WiX, source code is written in xml files. These files are validated against a schema, wix.xsd, then processed by a preprocessor, compiler, and linker to create the desired result. The WiX platform has been designed to allow for the easy creation of multiple Windows Installer databases from a small set of source files.
Common Structure/Schema:
All .wxs files are well-formed XML documents that contain a single root element named
The root
It is important to note, that there can be only one
The children of the section elements define the contents of the Windows Installer database. You’ll recognize
<?xml version="1.0"?>
<Include xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
.
.
.
</Include>
<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
.
.
.
</Wix>
<?xml version="1.0"?> <Include xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> . . . </Include> <?xml version="1.0"?> <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> . . . </Wix> |
Conclusion:
Hope this helps,
Happy Coding.
References:
http://wix.sourceforge.net