PatchSequence Table (PATCHWIZ.DLL)

The PatchSequence Table is used to generate the MsiPatchSequence Table in a patch. The table requires the version of PATCHWIZ.DLL that is available with Windows Installer 3.0.

The following table identifies the columns of the PatchSequence Table.

Column Type Key Nullable
PatchFamily Identifier Y N
Target Text Y Y
Sequence Version Y
Supersede Integer Y

 

Columns

PatchFamily

The identifier that indicates the sequence families to which this patch belongs.

The values in the Target and PatchFamily columns together define the primary key for the table. A patch that belongs to multiple sequence families, or has different sequences depending on the product code of the target, can have one row for each pairing. This value is used to populate the PatchFamily column of the MsiPatchSequence Table that belongs to the patch.

Target

The Target column is used to filter the PatchFamily by product code.

A NULL value in this column indicates that this PatchFamily applies to all targets of the patch. If this column contains a foreign key to the TargetImages Table, the product code of the specified image is retrieved and used to populate the product code value in the new patch's row of the MsiPatchSequence Table. If this column contains a GUID, the GUID is used to populate the product code value of the row in the MsiPatchSequence Table.

Sequence

The value in the Sequence column is used to populate the Sequence column of the MsiPatchSequence Table of the new patch file.

If the value is NULL, a sequence number is generated automatically.

Supersede

A value of msidbPatchSequenceSupersedeEarlier or 1 in this field indicates that this patch supersedes earlier small updates in the sequence families to which this patch belongs.

The value in this column is used to set the Attributes column of the new patch's row in the MsiPatchSequence Table .

Remarks

Available beginning in Windows Installer 3.0.