Media Element
- Description
-
Media element describes a disk that makes up the source media for the installation.
- Windows Installer references
- Media Table
- Parents
- Fragment, Include, Product
- Inner Text
- None
- Children
- Sequence (min: 1, max: 1)
- DigitalSignature (min: 0, max: 1)
- PatchPackage (min: 0, max: unbounded)
- Attributes
-
Name Type Description Required Id Integer Disk identifier for Media table. This number must be equal to or greater than 1. Yes Cabinet String The name of the cabinet if some or all of the files stored on the media are compressed into a cabinet file. If no cabinets are used, this attribute must be blank. CompressionLevel Enumeration Indicates the compression level for the Media's cabinet. This attribute can only be used in conjunction with the Cabinet attribute. The default is 'mszip'. This attribute's value should be one of the following: - high
- low
- medium
- mszip
- none
DiskPrompt String The disk name, which is usually the visible text printed on the disk. This localizable text is used to prompt the user when this disk needs to be inserted. This value will be used in the "[1]" of the DiskPrompt Property. Using this attribute will require you to define a DiskPrompt Property. EmbedCab YesNoType Instructs the binder to embed the cabinet in the product if 'yes'. This attribute can only be specified in conjunction with the Cabinet attribute. Layout String This attribute specifies the root directory for the uncompressed files that are a part of this Media element. By default, the src will be the output directory for the final image. The default value ensures the binder generates an installable image. If a relative path is specified in the src attribute, the value will be appended to the image's output directory. If an absolute path is provided, that path will be used without modification. The latter two options are provided to ease the layout of an image onto multiple medias (CDs/DVDs). src String This attribute has been deprecated; please use the Layout attribute instead. VolumeLabel String The label attributed to the volume. This is the volume label returned by the GetVolumeInformation function. If the SourceDir property refers to a removable (floppy or CD-ROM) volume, then this volume label is used to verify that the proper disk is in the drive before attempting to install files. The entry in this column must match the volume label of the physical media. - See Also
- Wix Schema