ISBP05

InstallShield 2016

Project • This information applies to the following project types:

Basic MSI
MSI Database

Message (Warning)

Dialog [1] Control [2] has a NULL condition. To ensure the control event always runs, use a condition of 1.

[1] is the name of a dialog in your project, and [2] is the name of a control on that dialog.

Description

ISBP05 verifies that each event’s condition for each dialog control is not null. This helps to ensure that Windows Installer triggers the control’s events under the proper circumstances.

Corrective Action

If Windows Installer should trigger the event that has a null condition only if no other event for that control is triggered, you can disregard the warning message.

If you do need to resolve this warning, locate the dialog in the Dialogs view. Click the Behavior item under the dialog. In the list of controls, click the one that is mentioned in the warning message. Ensure that in the lower-right pane, the Events tab is displayed. Then, in the grid in the upper-right pane, enter a condition for the event. To ensure that Windows Installer triggers the event, enter 1 as the condition.

See Also