刻录:如何在变量中存储复选框值 [英] Burn: How to store a checkbox value in a variable

查看:158
本文介绍了刻录:如何在变量中存储复选框值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在变量中存储复选框值。
我使用自定义RtfTheme使用WiX 刻录

I was wondering how you store a checkbox value in a variable? I am using WiX Burn with a custom RtfTheme.

例如:

RtfTheme.xml

<Checkbox Name="TestCheckbox" X="-11" Y="-51" Width="246" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">Please select this box</Checkbox>

Bundle.wxs

<Variable Name="TestVariable" Type="numeric" Value="![CDATA[TestCheckbox]]"/>



我希望TestVariable的值在我选择或取消选择复选框时改变值。任何帮助?

I want the value of "TestVariable" to change value whenever I select or deselect the checkbox. Any help?

推荐答案

WixStdBA自动保存选项页面上显示的所有命名复选框控件的状态。 WixStdBA不会公开任何其他复选框值。

WixStdBA automatically saves the state of all named checkbox controls that appear on the Options page. WixStdBA doesn't expose any other checkbox values.

这篇关于刻录:如何在变量中存储复选框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆