如何将MSI文件添加到我的安装程序 [英] How to add an MSI file to my installer

查看:134
本文介绍了如何将MSI文件添加到我的安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为我的应用程序安装了WiX 3.6(2011年10月)安装程序.我的应用程序需要在系统中安装其他服务.我通过以下方式将MSI文件添加到安装程序中:

I have WiX 3.6 (Oct 2011) installer for my application. My application requires another service to be installed in the system. I added an MSI file to my installer this way:

<Fragment>
    <PackageGroup Id="MyService" >
        <MsiPackage Id="MyService" Name="MyService" SourceFile="MyService.msi" DisplayInternalUI="yes" EnableFeatureSelection="yes">
        </MsiPackage>
    </PackageGroup>
</Fragment>
<Fragment>
    <ComponentGroup Id="APPFILES">
    ...
</Fragment>

安装程序可以正常运行,但是此附加的MSI文件未安装.我想念什么?

The installer works fine, but this additional MSI file is not installing. What am I missing?

推荐答案

您不能从另一个MSI安装一个MSI.您需要做的是创建一个引导程序(链接现在似乎已失效,可能适合替换链接),按顺序安装每个MSI. Wix 3.6具有内置的引导程序,称为 Burn .

You cannot install one MSI from another MSI. What you need to do is create a bootstrapper (link appears dead now, possible suitable replacement link) that installs each MSI in sequence. Wix 3.6 has a built-in bootstrapper called Burn.

这里是另一个有用的链接,由礼貌马特·克拉克森.

这篇关于如何将MSI文件添加到我的安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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