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

ICE12

· 52CE 我爱测

ICE12 validates the CustomAction, Directory, AdminExecuteSequence, AdminUISequence, AdvtExecuteSequence, InstallExecuteSequence, and InstallUISequence tables of the Windows Installer database.

ICE12 queries the CustomAction, Directory, AdminExecuteSequence, AdminUISequence, AdvtExecuteSequence, InstallExecuteSequence, and InstallUISequence tables to validate the following:

Note that ICE12 does not validate the formatted text in the Target column of the CustomAction table.

Result

ICE12 posts an error message if validation of the custom actions that set a directory property fails.

Example

ICE12 would post three errors for the example shown.

  • For CA1, Folder 'MyFolder' not found in Directory table
  • For CA2, Sequence '80' comes before CostFinalize in the InstallExecuteSequence table. It must come after (CF@100)
  • For CA3, Sequence '125' comes after CostFinalize in the InstallExecuteSequence table. It must come before (CF@100)

CustomAction Table (partial)

Action Type Source
CA1 35 MyFolder
CA2 35 WindowsFolder
CA3 51 WindowsFolder

Directory Table

Directory Directory_Parent DefaultDir
TARGETDIR SourceDir
WindowsFolder TARGETDIR WindowsFolder

InstallExecuteSequence Table (partial)

Action Sequence
CostFinalize 100
CA2 80
CA3 125

To fix the error for CA1 change its entry in its Source column in the CustomAction table to an existing entry in the Directory table or add MyFolder to the Directory table.

To fix the error for CA2, change its sequence in the InstallExecuteSequence table such that it comes after the CostFinalize action.

To fix the error for CA3, change its sequence in the InstallExecuteSequence table such that it comes before the CostFinalize action.

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)

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

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