This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Basic MSI: Handle CheckBox Checked Event in Interior Dialog
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 26, 2010
09:01 AM
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?
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) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 27, 2010
01:49 AM
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
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