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

ICE19

· 52CE 我爱测

ICE19 validates that advertised components reference a file in the KeyPath column of the Component table and that an advertised shortcut references a directory in this column.

ICE19 validates that advertised components reference a file in the KeyPath column of the Component table and that an advertised shortcut references a directory in this column.

ICE19 validates that advertised components or shortcuts have a ComponentId. Components in the PublishComponent table, which are not advertised in another table, are only checked to see whether they have a ComponentId.

Result

ICE19 posts an error message if the KeyPath column of the Component table does not reference a file in the case of an advertised component or a directory in the case of an advertised shortcut. ICE19 posts an error message if any advertised components or shortcuts do not have a ComponentId.

Example

ICE19 posts the following error messages for the example shown:

  • Extension flp references the component Comp1 which does not have a ComponentId specified in the Component table.
  • Extension exe references the component Comp4 which references a directory as its KeyPath. The KeyPath is Null in the Component table.
  • Shortcut Shortcut2 references the component Comp3 which references a Registry entry as the key path. The value of the Attributes column in the Component table is 4.

Component Table (partial)

Component ComponentId Attributes KeyPath
Comp1 Null 0 File1
Comp2 {00000002-0003-0000-0000-624474736554} 0 File2
Comp3 {00000003-0003-0000-0000-624474736554} 4 Reg3
Comp4 {00000004-0003-0000-0000-624474736554} 0 Null

Extension Table (partial)

Extension Component_
flp Comp1
tst Comp2
exe Comp4

Shortcut Table (partial)

Shortcut Component_ Feature_
Shortcut1 Comp4 ProductFeature
Shortcut2 Comp3 ProductFeature

Feature Table (partial)

Feature
ProductFeature

Note:
If the extension flp and exe both reference the same component, the EXE or COM server that opens them must be the same. This EXE is normally the KeyPath for the Component. For OFFICE, the extensions doc and xls cannot reference the same component because the same EXE does not open both extensions. You need winword.exe to open doc extensions and you need excel.exe to open xls extensions.

Related topics

ICE Reference

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)

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

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