cancel
Showing results for 
Search instead for 
Did you mean: 
samiracr
Pilgrim

Basic MSI: Handle CheckBox Checked Event in Interior Dialog

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?
Labels (1)
0 Kudos
1 Reply
azad_khan
Pilgrim

Re: Basic MSI: Handle CheckBox Checked Event in Interior Dialog

Hi,

You can use
MsiGetProperty(hMSI,"Property Name",szValue,nBuffer);

Once you get the value of checkbox then you can dispaly the message and abort the installation based on checkbox value.

if ( szValue = "1") then

Messagebox or SprintfBox

abort;

endif;

Hope this may give you some help.

Regards

Azad
0 Kudos