Wix安装多个应用程序 [英] Wix to Install multiple Applications

查看:98
本文介绍了Wix安装多个应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可能有一个奇怪的要求.

I probably have a strange request.

我已经开发了一个msi以安装两个软件.在EULA之后,必须出现带有两个复选框的屏幕,并且在选择这两个复选框中的一个或两个时,必须安装相应的软件.

I have develop a msi to install two softwares. After the EULA a screen with two checkboxes must come and on selection of either or both of these checkboxes the corresponding softwares have to be installed.

我以前从未安装过两个软件.

I have used to install a single software earlier never for two.

我有责任获得任何线索.

I would be obliged for any leads.

推荐答案

Windows安装程序具有功能"的概念,可以选择安装或省略这些功能.如果您已经创建了一个可以运行的安装程序,则您的WIX文件中至少有一个<Feature>元素.

Windows installer has a concept of "features" which can be selected for installation or omitted. If you have already created a working installer, then you have at least one <Feature> element in your WIX files.

只需创建多个<Feature>元素,然后使用<UIRef Id="WixUI_Mondo" /><UIRef Id="WixUI_FeatureTree" />允许用户选择要安装的功能.

Simply create multiple <Feature> elements and then use <UIRef Id="WixUI_Mondo" /> or <UIRef Id="WixUI_FeatureTree" /> to allow the user to choose which features he wants to install.

这篇关于Wix安装多个应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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