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

PublishComponent Table

· 52CE 我爱测

The PublishComponent table associates components listed in the Component table with a qualifier text-string and a category ID GUID.

The PublishComponent table associates components listed in the Component table with a qualifier text-string and a category ID GUID. Components with parallel functionality that have been grouped together in this way are referred to as qualified components. See Qualified Components. This provides the installer with a method for single-level indirection when referring to components. See Using Qualified Components.

The PublishComponent table has the following columns.

Column Type Key Nullable
ComponentId GUID Y N
Qualifier Text Y N
Component_ Identifier Y N
AppData Text N Y
Feature_ Identifier N N

Columns

ComponentId

A string GUID that represents the category of components being grouped together. Note that this column's title is misleading. This is the GUID for the category of qualified components and is not the same GUID appearing in the ComponentId column of the Component table. Here it refers to a server that provides the functionality of a component to external clients rather than the component itself.

Qualifier

A text string that qualifies the value in the ComponentId column. A qualifier is used to distinguish multiple forms of the same component, such as a component that is implemented in multiple languages. These are the qualifier text-strings returned by MsiEnumComponentQualifiers.

Component_

External key into column one of the Component table. This identifier refers to the qualified component's record in the Component table.

AppData

An optional localizable text describing the qualified component of this record. The string is commonly parsed by the application and can be displayed to the user. It should describe the qualified component. This can be retrieved with MsiEnumComponentQualifiers.

Feature_

External key into column one of the Feature table. This is the feature using this qualified component.

Remarks

This table is referred to when the PublishComponents action or the UnpublishComponents action is executed.

Note that the name of this table is misleading. This table is not required in order to author advertisement. See the Attributes column of the Component table and Feature table for information on how to set the installation state of components to advertise.

Validation

ICE03
ICE06
ICE19
ICE22
ICE32

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)

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

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