Wix 安装多个应用程序 [英] Wix to Install multiple Applications
问题描述
我可能有一个奇怪的要求.
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.
我愿意提供任何线索.
推荐答案
Windows 安装程序有一个功能"的概念,可以选择安装或省略.如果您已经创建了一个可用的安装程序,那么您的 WIX 文件中至少有一个
元素.
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.
只需创建多个
元素,然后使用
或
允许用户选择他想要安装的功能.
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屋!