WiX bootstrapper - disable a control using HexStyl

2019-09-05 22:30发布

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.

1条回答
三岁会撩人
2楼-- · 2019-09-05 23:04

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" />
查看更多
登录 后发表回答