TargetFiles_OptionalData Table (Patchwiz.dll)

Windows Installer

TargetFiles_OptionalData Table (Patchwiz.dll)

The TargetFiles_OptionalData table contains information about specific files in a target image. This table is optional in the patch creation database (.pcp file) and is used by the UiCreatePatchPackageEx function.

The TargetFiles_OptionalData table has the following columns.

Column Type Key Nullable
Target text Y N
FTK text Y N
SymbolPaths text   Y
IgnoreOffsets text   Y
IgnoreLengths text   Y
RetainOffsets text   Y

 

Columns

Target

Foreign key to the Target column of the TargetImages Table (Patchwiz.dll).

FTK

Foreign key into the File table of target image.

SymbolPaths

The value in this field is added to the semicolon delimited list of folders in the SymbolPaths column of the TargetImages Table (Patchwiz.dll) when the patch is generated, and can be used to add symbol files for a specific file.

IgnoreOffsets

The value in this field is a comma delimited list of range offset numbers for the ranges to be ignored in the Target file. The order and number of the ranges in the list must match the items in the IgnoreLengths column. This column is optional.

The values can be decimal or hexadecimal. Patchwiz.dll treats the value as hexadecimal if it is prefixed by "0x". The columns are string columns and Patchwiz.dll will convert the values to ULONGs.

IgnoreLengths

The value in this field is a comma delimited list of range lengths in bytes for the ranges to be ignored in the Target file. The order and number of the ranges in the list must match the items in the IgnoreOffsets column. This column is optional.

The values can be decimal or hexadecimal. Patchwiz.dll treats the value as hexadecimal if it is prefixed by "0x". The columns are string columns and Patchwiz.dll will convert the values to ULONGs.

RetainOffsets

The value in this field is a comma delimited list of range offset numbers for the ranges to be retained in the Target file. The order and number of the ranges in the list must match the items in the RetainOffsets column of the corresponding record in the FamilyFileRanges Table (Patchwiz.dll)

The values can be decimal or hexadecimal. Patchwiz.dll treats the value as hexadecimal if it is prefixed by "0x". The columns are string columns and Patchwiz.dll will convert the values to ULONGs.

 

See Also

Patching Selected Regions of a File

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.