将项目包含到Wix Bundle Bootstrapper中

时间:2014-01-07 19:57:10

标签: c# wix installer bundle

如何在引导程序中包含我的程序安装程序?我有这个只安装先决条件。我不能将我的程序包含为安装msi文件或w.e else,它可以。

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Bundle UpgradeCode="fec4e00c-2691-4dfd-ade8-1a83d7d37d36" Version="1.0.0.0">
  <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense"/>
  <Chain>
    <PackageGroupRef Id="Netfx4Full"/>
    <PackageGroupRef Id="SQLPackage"/>
  </Chain>
</Bundle>

1 个答案:

答案 0 :(得分:1)

  1. 您需要先创建msi。 Here is an example。如果使用Visual Studio,则可以创建新的Setup Project以开始使用。
  2. 使用<MsiPackage>元素添加上一步中的msi。您可以在先决条件之后立即插入它。
相关问题