Skip to content

Latest commit

 

History

History
90 lines (49 loc) · 3.09 KB

ice12.md

File metadata and controls

90 lines (49 loc) · 3.09 KB
description ms.assetid title ms.topic ms.date
ICE12 validates the CustomAction, Directory, AdminExecuteSequence, AdminUISequence, AdvtExecuteSequence, InstallExecuteSequence, and InstallUISequence tables of the Windows Installer database.
c1576aff-ff05-49be-8679-a8bfd01977f5
ICE12
article
05/31/2018

ICE12

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