大网数据广告活动
安装更新与部署

ExternalFiles Table (Patchwiz.dll)

· 52CE 我爱测

The ExternalFiles table contains information about specific files that are not part of a regular target image.

The ExternalFiles table contains information about specific files that are not part of a regular target image. These files may exist in products that have been updated by another product, upgrade, or patch. This table is optional in the patch creation database (.pcp file) and is used by the UiCreatePatchPackageEx function.

The ExternalFiles table has the following columns.

Column Type Key Nullable
Family text Y N
FTK text Y N
FilePath text Y N
SymbolPaths text Y
IgnoreOffsets text Y
IgnoreLengths text Y
RetainOffsets text N
Order integer Y

Columns

Family

Foreign key to the Family column of the ImageFamilies Table (Patchwiz.dll).

FTK

Foreign key into File table of the .msi file of the upgraded image.

FilePath

Full path of the external file including the file name. FilePath field is used to locate the file specified in the FTK column.

SymbolPaths

Full path searched for symbol files of the file specified in the FTK column.

IgnoreOffsets

The value in this field is a comma-delimited list of range offset numbers for the ranges to be ignored in the external 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 external 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 External 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.

Order

If two or more versions are specified for the same external file, the table may contain multiple records with matching values in the FTK and Family fields. In this case, the Order field may specify the order of external files to use when creating the patch. The order is from the oldest to the most recent version.

Remarks

This table accepts environment variables as paths beginning with version 4.0 of Patchwiz.dll.

Related topics

Patching Selected Regions of a File

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。