Loading
  • 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,"","");
  • 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.
  • 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.
    Expand Post
  • 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.

Loading
Uncheck check box by default