0

以下是我的引导程序应用程序的代码:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">

<Bundle Name="BootstrapperSetup" Version="1.0.0.0" Manufacturer="Company" UpgradeCode="XYZ">
<Chain>   
  <ExePackage SourceFile="C:\SW\XYZ.exe" Compressed="yes"></ExePackage>
  <MsiPackage SourceFile= "C:\SW\ABC.msi" Compressed="yes" DisplayInternalUI="yes"/>
  <MsiPackage SourceFile="C:\SW\PQR.msi"  Compressed="yes" Name ="INSTALLDIR"/>    
</Chain>
</Bundle>
</Wix>

在安装所有 3 个软件包之前,我想检查机器上是否安装了天气 .net 框架,如果没有,那么我需要从另一个文件夹安装它。

请帮助我做必要的事情。

4

2 回答 2

3

根据您需要的 .NET 版本,您可以在链中添加如下内容: <PackageGroupRef Id="NetFx40Redist" />

有关其他替代方案,请参见此处:http ://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm 。

于 2013-06-05T11:39:27.350 回答
0

本文讨论了托管 UX 和为同一http://blogs.msdn.com/b/heaths/archive/2011/10/28/introducing-managed-bootstrapper-applications.aspx添加 .net

于 2013-06-05T14:23:42.047 回答