cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
TheResearch
Level 6

Uncheck check box by default

Hi,

How do we make the check box unchecked by default. It is checked by default.
Any suggestions?
Labels (1)
0 Kudos
(6) Replies
achal009
Level 4

In UI u shall see that check box has a property field. copy the following code in a custom action and launch it before you navigate to the screen which has the check box.
MsiSetProperty(ISMSI_HANDLE,"","");
0 Kudos
TheResearch
Level 6

Still facing the same problem. Any other specifications?

Thanks
0 Kudos
achal009
Level 4

It will work.

Are you sure your custom action is being called. try to put a messagebox inside the custom action and see if it pops up or if possible debug it.
0 Kudos
TheResearch
Level 6

Yes, the CA is getting called.

BTW, is there any particular settings to be taken care for the check box property like, PropertyIsInteger. I tried with different possibilities, but still couldnt resolve it.

Thanks.
0 Kudos
TheResearch
Level 6

Hi,

When I use Session.Property("") = "", its working fine.

Hope this solves my problem.

Thanks.
0 Kudos
DebbieL
Level 17

It would probably be easier to just delete the property from the Property Manager view. If the check box's property is defined there, the default state of the check box is selected. If the check box's property is not defined, the default state of the check box is cleared.
0 Kudos