Error Message Custom Actions

This type of custom action displays a specified error message and returns failure, terminating the installation. The error message to be displayed can be supplied as a string or as an index into the Error table.

Custom action type Description
Custom Action Type 19 Terminates the installation and displays an error message.

 

See the section Summary List of All Custom Action Types for a summary of how to encode each of the custom action types into the CustomAction table.