Search code examples
wixbootstrapperwix3.8

WiX bootstrapper - disable a control using HexStyle


I have a WiX bootstrapper theme xml file, and I want to permanently disable a control. I have tried to set HexStyle to the value of WS_DISABLED (link). However the control is still enabled. Anyone knows if I can use HexStyle or know of another way of having a control permanently disabled. I use the WixStandardBootstrapperApplication.RtfLicense BootstrapperApplication.


Solution

  • The possible solution is to find Id of this control and then create Variable with postfix "State". I hope it should work:

    <Variable Name="EulaRicheditState" Type="string" Value="disable" />