简体   繁体   English

将多个msi安装程序组合到单个安装程序

[英]combining multiple msi installer into single installer

In My application there are 4 msi installers.one which installs web project,other one installs web services and two installers for installing windows service. 在我的应用程序中有4个msi installers.one安装web项目,另一个安装Web服务和两个安装程序用于安装Windows服务。

I want to combine all 4 into one.Is there a way to do that without using wix,installshield or any third party products. 我想将所有4个组合成一个。如果没有使用wix,installshield或任何第三方产品,有没有办法做到这一点。

A simple approach is to add 3 of your installers as a prerequisite to the fourth one. 一个简单的方法是添加3个安装程序作为第4个安装程序的先决条件。 You can read more about prerequisites here: 您可以在此处详细了解先决条件:

You can then add the EXE bootstrapper and MSI files into a single EXE self-extract archive which executes the bootstrapper when extracted. 然后,您可以将EXE引导程序和MSI文件添加到单个EXE自解压存档中,该存档在解压缩时执行引导程序。

If an EXE is not acceptable and you want to combine them in an MSI, you will need a third party setup authoring tool. 如果EXE不可接受并且您希望将它们组合在MSI中,则需要第三方设置创作工具。

No, there's no way to combine 4 MSIs into a single one. 不,没有办法将4个MSI组合成一个。 Whilst there are some ways of compositing components together (see Merge Modules, but they're not that popular these days), these have to be specially constructed, and are consumed whilst constructing the MSI into which they're added. 虽然有一些方法可以将组件合成在一起(参见合并模块,但它们现在并不那么流行),但这些方法必须经过特殊构建,并在构建添加它们的MSI时使用。

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

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