1
votes

Tools: InstallShield 2009 Premier, Basic MSI Project

I have added an interior dialog, and in that dialog I added a checkbox.

Now if the checkbox is checked I want to exit the setup (or, show a message box).

How?

1

1 Answers

1
votes

Why would you want to do that? The dialog already has a cancel button, right? I suspect there's a deeper question here and I need to understand the goal to give a better answer.

Otherwise, take a look at behavior and logic | control events and look at how the cancel button does it. It calls the ControlEvent SpawnDialog argument CancelSetup condtion 1 ( Always ) and the CancelSetup dialog has an EndDialog | Exit event.