cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
flyhoney
Level 3

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".

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?
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

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.)
0 Kudos