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

Patch Table

· 52CE 我爱测

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 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.

Column Type Key Nullable
File_ Identifier Y N
Sequence Integer Y N
PatchSize DoubleInteger N N
Attributes Integer N N
Header Binary N Y
StreamRef_ Identifier N Y

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.

Constant Hexadecimal Decimal Description
(none) 0x000 0 Failure to apply this patch is a fatal error.
msidbPatchAttributesNonVital 0x001 1 Indicates 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

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)

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

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