【问题标题】:How to Customising the WiX Burn theme with additional input button and open other page on click?如何使用附加输入按钮自定义 WiX Burn 主题并在单击时打开其他页面?
【发布时间】:2016-10-20 10:19:31
【问题描述】:

我正在创建一个 wix 引导程序项目,它按顺序执行 2 个 msi 文件。我希望用户拥有允许用户选择要执行的 msi 文件的 UI(有些类似于功能选择 UI),为此我在安装页面上添加了一个按钮

<Page Name="Install">
<Richedit Name="EulaRichedit" X="11" Y="80" Width="-11" Height="-70" TabStop="yes" FontId="0" HexStyle="0x800000" />
<Checkbox Name="EulaAcceptCheckbox" X="-11" Y="-41" Width="260" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallAcceptCheckbox)</Checkbox>
<Button Name="OptionsButton" X="-171" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.InstallOptionsButton)</Button>
<Button Name="FeatureButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">Feature</Button>

<Button Name="InstallButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.InstallInstallButton)</Button>
<Button Name="WelcomeCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.InstallCloseButton)</Button>
</Page>

现在我想当我点击FeatureButton 时必须出现一个新页面。 有什么办法吗?

【问题讨论】:

    标签: wix bootstrapper wix3.10


    【解决方案1】:

    默认引导程序无法做到这一点,您需要创建自己的自定义引导程序。

    查看此链接以帮助您入门:

    https://www.wrightfully.com/part-1-of-writing-your-own-net-based-installer-with-wix-overview/

    【讨论】:

      猜你喜欢
      • 2012-09-01
      • 1970-01-01
      • 1970-01-01
      • 2015-08-30
      • 2016-05-19
      • 1970-01-01
      • 2011-11-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多