如何使用附加输入按钮自定义WiX Burn主题并单击打开其他页面?

时间:2016-10-20 10:19:32

标签: wix bootstrapper wix3.10

我正在创建一个wix bootstrapper项目,它按顺序执行2个msi文件。我希望用户拥有UI,使用户能够选择要执行的msi文件(有些类似于功能选择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时必须出现新页面。 有没有办法做到这一点?

1 个答案:

答案 0 :(得分:0)

使用默认的Bootstrapper无法创建自己的自定义Bootstrapper。

查看此链接以开始使用:

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