WiX bootstrapper - disable a control using HexStyle

删除回忆录丶 提交于 2020-01-17 03:50:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!