WIX引导程序-添加组合框 [英] WIX Bootstrapper - Add combo box

查看:118
本文介绍了WIX引导程序-添加组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将组合框添加到WiX引导程序?

How do I add a combo box to a WiX Bootstrapper?

我使用HyperlinkLargeTheme.xml,并尝试将组合框添加到安装页面. 它出现在对话框中,但我不知道如何向其中添加值.

I use HyperlinkLargeTheme.xml and have tried to add a combo box to the install page. It appears on the dialog, but I don't know how to add values to it.

<Page Name="Install">        
      <Text Name="InstallLanguge" X="20" Y="200" Width="100" Height="17" FontId="3" DisablePrefix="yes" HideWhenDisabled="yes">Select Language</Text>

      <Combobox X="130" Y="200" Width="150" Height="17" FontId="3" Name="Language">
        <ListItem Text="English" Value="eng" />
        <ListItem Text="Japanese" Value="jp" />
        <ListItem Text="Chinese" Value="cn" />
      </Combobox>

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

推荐答案

不支持ComboBox.您需要一个自定义的BootstrapperApplication来执行此操作. 您可以通过一些方法将它们添加到对话框中,但无法填充em.

ComboBox is not supported. You need a custom BootstrapperApplication to do that. Some how you can add them to the dialog but you wont able to populate em.

这篇关于WIX引导程序-添加组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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