IT:AD:WiX:HowTo:Create a Media Element
Process
As shown in Schema the basic file schema is:
<wix namepace="...">
<!-- describes the app being installed -->
<product>
<!-- describes the msi package of the product -->
<package/>
<!-- describes the cab's within the msi -->
<media/>
</product>
</wix>
The media tag is created with a unique id as follows:
<?xml.../>
<Wix xmlns="http://schemas.microsoft.wix/2006/wi"/>
<Product Id="9031..."
Manufacturer="..."
Name="TheProduct"
Version="0.0.1"
Language="1033"
UpgradeCode="6ea8...">
<Package.../>
<!-- An MSI can be just an installer with 1 or moer cab files.
Think 4 diskettes (yup...) with the first containing the
*.MSI with cab01.cab embedded within it,
and the rest of the diskettes containing cab-02-04.cab
In most cases, there will be simply one Embedded cab
-->
<Media Id="1" Cabinet="media.cab" EmbedCab="yes"/>
</Product>
</Wix>