The root element of a bundle is <Bundle>. The <Bundle> element is a child directly under the <Wix>; element. Here's an example of a blank bundle:
<?xml version="1.0"> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Bundle> <!-- Contents of the bundle goes here --> </Bundle> </Wix>
In this example, we will be adding the following elements to the <Bundle> element:
As a start, let's add the two most common elements inside a <Bundle> :
<?xml version="1.0"> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Bundle> <BootstrapperApplicationRef /> <Chain> </Chain> </Bundle> </Wix>
The <BootstrapperApplicationRef> element will eventually point to the standard BootstrapperApplication provided by the WiX toolset and the <Chain> element will eventually contain the ordered list of packages that make up the bundle.
Now you have the skeleton authoring of a Bundle, let's move on to adding information for the <BootstrapperApplicationRef> element. See Author the BootstrapperApplication for a Bundle.