Patch Table

The Patch table specifies the file that is to receive a particular patch and the physical location of the patch files on the media images.

The Patch table has the following columns.

ColumnTypeKeyNullable
File_ Identifier YN
Sequence Integer YN
PatchSize DoubleInteger NN
Attributes Integer NN
Header Binary NY
StreamRef_ Identifier NY

 

Columns

File_

The patch is applied to the file specified by the identifier in this column. This is a primary key for the table and it is a foreign key to the File table.

Sequence

This is the position of the patch file in the sequence order of files on the media images. The sequence order must correspond to the order of the files in the patch package cabinet file. This is a primary key for this table. The maximum limit is 32767 files, to create a Windows Installer package with more files, see Authoring a Large Package.

PatchSize

This column gives the size of the patch in bytes written as a long integer.

Attributes

Integer containing bit flags representing patch attributes. Insert a value of 1 in this column to indicate that the failure to apply this patch is not a fatal error.

ConstantHexadecimalDecimalDescription
(none)0x0000Failure to apply this patch is a fatal error.
msidbPatchAttributesNonVital0x0011Indicates that the failure to apply this patch is not a fatal error.

 

Header

This column is the binary stream patch header used for patch validation. This column should be null if the StreamRef_ column is not null. In this case, the patch header stream is stored in the MsiPatchHeaders table to overcome the stream name limitation described in OLE Limitations on Streams.

StreamRef_

External key into the MsiPatchHeaders table specifying the row that contains the patch header stream.

Remarks

This table is processed by the PatchFiles action. It is usually added to the install package by a transform from a patch package. It is usually not authored directly into an install package.

Validation

ICE03
ICE06
ICE29
ICE45

 

 

Community Additions

ADD
Show:
© 2014 Microsoft