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

ICE10

· 52CE 我爱测

ICE10 validates that the advertise state of child features matches that of its parent feature.

ICE10 validates that the advertise state of child features matches that of its parent feature.

A child feature may not disallow advertisement while its parent feature allows advertisement. The following combination of parent and child attributes is therefore invalid.

parent = msidbFeatureAttributesFavorAdvertise 
child = msidbFeatureAttributesDisallowAdvertise

This combination is invalid because it would turn off the parent whenever the parent was supposed to be advertised. However, the reverse is allowed. A child can be marked to favor advertisement while the parent is marked to disallow advertisement.

The ICE10 custom action determines the state of parent and child features from the Attributes column of the Feature table. Note that it is valid to set the state of a feature to 0 and have its parent or child set to favor or disallow advertisement.

Result

ICE10 posts an error if the Attributes column of the Feature table contains a mismatch in the advertise state.

Example

ICE10 posts the following error message for the example shown.

Conflicting states, one favors, one disallows. Child: Word differs in advertise state 
from Parent: Office.

Note for this example that Microsoft Excel and Microsoft Word are child features of Microsoft Office.

Feature table (partial)

Feature Feature_Parent Attributes
Office Null 4
Excel Office 4
Word Office 8

In the example, Word is set to disallow advertisement, which conflicts with the allow advertisement state of its parent, Office.

In some cases ICE10 posts the following error:

Parent feature: 'Parent' not found for child feature: 'Child'. This error means 
that for the child feature 'Child', the feature 'Parent' is not listed in the 
Feature table.

This refers to an invalid foreign key reference. The fix is to have 'Child' point to its correct parent feature, or add an entry for the parent feature 'Parent' to the Feature table.

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)

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

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