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.
Asked
Active
Viewed 1,114 times
0

Morten Frederiksen
- 5,114
- 1
- 40
- 72
1 Answers
6
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" />

Andrew Usikov
- 701
- 8
- 13
-
Great find. How did you figure this out? – whenrybruce Mar 05 '19 at 19:22
-
Oh boy! it was almost 5 years ago. I just remember I was taking a look at source code of WIX Toolset and found such logic. Unfortunately, I can't say now where exactly it was. I think it is kind of not-documented tricky feature :) – Andrew Usikov Mar 06 '19 at 20:54