我想在任何可能的地方安装Dot net framework 4.5作为我的应用程序的先决条件.对于dot net framework 4.5,最低操作系统要求是Windows Vista SP2.I我想在Windows Vista SP2上安装dot net framework 4.5 on OS和Windows网络框架4.0下面的Windows Vista Sp2(即Windows Xp机器).我正在使用下面的代码.
<PropertyRef Id="NETFRAMEWORK40FULL" />
<PropertyRef Id="NETFRAMEWORK45" />
<Condition Message="This application requires .NET Framework 4.0 Full or .NETFramework 4.5. Please install the .NET Framework then run this installer again.">
<![CDATA[Installed OR NETFRAMEWORK40FULL OR NETFRAMEWORK45]]>
</Condition>
<Chain>
<PackageGroupRef Id="NetFx40Web" />
<PackageGroupRef Id="NetFx45Web" />
<PackageGroupRef Id="SqlServer2008R2" />
</Chain>
Run Code Online (Sandbox Code Playgroud)
但是它给出了错误
The Windows Installer XML variable 'WixMbaPrereqPackageId' is declared in morethan one location.
The Windows Installer XML variable 'WixMbaPrereqLicenseUrl' is declared in more than one location.
Run Code Online (Sandbox Code Playgroud)
我想我们不能使用WixNetFxExtension库安装DotnetFramework4和DotnetFramework 4.5.我现在有什么选择来实现它?我是否必须手动编写PackageGroup才能安装Dot net Framework 4.5,检查操作系统版本是否兼容安装它.
Wix 提供了使用 Burn 将 .Net 框架安装到您的应用程序中的文档。
| 归档时间: |
|
| 查看次数: |
4852 次 |
| 最近记录: |