问题
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:
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" />
来源:https://stackoverflow.com/questions/25642662/wix-bootstrapper-disable-a-control-using-hexstyle