Hi,
In order to achieve that you can go in the "Dialogs" page and select the [Next] button on the previous dialog from the "Install Sequence" where your custom dialog is added.
In the
Published Events of the
[Next > ] button select the
Display a specific dialog published event and add in the "Condition:" field the public property of that is associated with your search(e.g. REGISTRY_KEY_EXISTS). So, the next dialog will be only displayed if the value of the search is true.
You can also add a predefined
Display message box custom action
without sequence and on the same
[Next > ] button add a new
Published Events.
From the new
control event window you can select
Execute custom action. Edit the events options like:
Argument: MessageBox
Condition: field:
NOT REGISTRY_KEY_EXISTS
So, the message box will appear only if the search is not true.
If you have other questions, please let us know.
Best regards,
Dan