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
- :
- CheckBox property not set
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
Aug 21, 2009
01:45 PM
CheckBox property not set
In a Basic MSI project, I have added a checkbox to the SetupCompleteSuccess dialog. I have an action that runs when the OK button is clicked. I have set the property of the checkbox to FOO. However, if I retrieve the value of the FOO property in my action using MsiGetProperty, it is awlays "0".
I'm already accessing the LAUNCHPROGRAM property set by a checkbox on that dialog and it is working fine. Any idea what I am doing wrong?
function MyFunction(hMSI)
string foo;
number buffer;
begin
if (MsiGetProperty(hMSI, "FOO", foo, buffer) = ERROR_SUCCESS) then
MessageBox(foo, WARNING);
endif;
end;
I'm already accessing the LAUNCHPROGRAM property set by a checkbox on that dialog and it is working fine. Any idea what I am doing wrong?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 21, 2009
07:10 PM
First, perhaps open the Property Manager view and ensure that FOO is not set to "0"? If so, you can delete the property or the value.
(Perhaps see this ancient newsletter tip on the subject [PDF]: http://www.acresso.com/webdocuments/PDF/check.pdf.)
(Perhaps see this ancient newsletter tip on the subject [PDF]: http://www.acresso.com/webdocuments/PDF/check.pdf.)
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)