简体   繁体   English

如何在InstallShield中为Windows的套装安装程序中添加两个MSI包

[英]How to add two msi packges in suit installer for windows in installshield

我想在一个套装安装程序软件包中添加两个msi软件包。如果用户选择了完整的安装选项,则在安装软件包时会安装一个msi软件包。如果用户选择custom,则会列出两个软件包,用户应该可以选择和根据该安装进行。

Adding the MSI is simple, go to the Designer view->Organization->packages and R-Click on Packages and add whatever type of installer your adding. 添加MSI很简单,请转到“设计器”视图->“组织”->“程序包”,然后右键单击“程序包”,然后添加您添加的任何类型的安装程序。

For Complete/Custom - use a "Property Comparison" condition in the "Eligibility Condition" for each package, ie: "Property Comparison" stringCompare PACKAGE1 = true 对于完全/自定义-在每个包的“资格条件”中使用“属性比较”条件,即:“属性比较” stringCompare PACKAGE1 = true

On the InstallType page, in the "Complete" and "Custom" buttons, click on the Events-Click option and click the green + sign to the right and select the setProperty action and set the properties to true or false for both buttons: "Complete" and "Custom" 在InstallType页面的“ Complete”和“ Custom”按钮中,单击“ Events-Click”选项,然后单击右侧的绿色+符号,然后选择setProperty操作,并将两个按钮的属性设置为true或false:完成”和“自定义”

So for the Complete button, you would setProperty PACKAGE1=true and another setProperty PACKAGE2=false. 因此,对于“完成”按钮,您将setProperty PACKAGE1 = true和另一个setProperty PACKAGE2 = false。

Custom you would setProperty PACKAGE1=true and another setProperty PACKAGE2=true. 自定义您将setProperty PACKAGE1 = true和另一个setProperty PACKAGE2 = true。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM