it:ad:wix:howto:create_a_media_element

IT:AD:WiX:HowTo:Create a Media Element

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>  
  • /home/skysigal/public_html/data/pages/it/ad/wix/howto/create_a_media_element.txt
  • Last modified: 2023/11/04 02:02
  • by 127.0.0.1