MSI Factory 2.3

Media Item

Media Item

Previous topic Next topic  

Media Item

Previous topic Next topic  

MSI Factory

Settings

ID:

Disk identifier of the media item. This number must be equal to or greater than 1.

Disk name:

The localizable disk name, which is usually the visible text printed on the physical distribution disk. This name will be displayed during installation when it is needed for source files.

Volume label:

The volume label of the source disk (usually a CD/DVD-ROM disk). 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 field must match the volume label of the physical media. This value is optional.

Type

Cabinet file

If cabinet file is selected, the files that belong to this media source will be stored in a cabinet (.cab) file.

Compression level:

The compression level of the cab file. Choose from High, Low, Medium, MSZip or None. MSZip is the default value.

Cabinet filename:

The name of the cabinet file to generate for this media item. Make sure that each cab file name within your project is unique. You will get a build error if you give two cab files the same name.

Embed cabinet file in MSI database

If checked, the cabinet file will be stored inside of the MSI database (.msi file). If unchecked, the cabinet file will be stored externally and will be assumed to be in the location pointed to by the SourceDir property during installation (usually the same folder as the setup database (.msi) file is in).

Raw files

If raw files is selected, the source files that you are installing will be stored externally in an uncompressed state alongside of the MSI database.

Output subfolder name:

The name of a subfolder to copy the source files to during the build. This folder will be relative to the MSI database file's folder. Usually this is used to layout files to go on separate CD/DVDs. For example, "CD1". Note that when you actually burn the CD/DVD you should NOT include this subfolder itself on the media. You should include the contents of the subfolder named here at the CD root.

More Information

MSDN Online: Cabinet

MSDN Online: Including a Cabinet File in an Installation

MSDN Online: Media Table

MSDN Online: Using Cabinets and Compressed Sources

WiX Help File: Media Element


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us