【发布时间】:2013-02-11 17:10:28
【问题描述】:
我偶然发现了这份文档。 http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm.
如果 .net4full 未安装,我不知道如何安装它。
目前我的 wix xml 看起来像这样:
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
<Product Id="*"
.....
.........
>
<PropertyRef Id="NETFRAMEWORK40FULL"/>
<Condition Message="This application requires .NET Framework 4 FULL. Please install the .NET Framework then run this installer again.">
<![CDATA[Installed OR NETFRAMEWORK40FULL]]>
</Condition>
.....
.........
............
.........
............
</Product>
.......................
..............................
................................
.........................
</Wix>
顺便说一句,我使用的是 wix 3.7!
【问题讨论】:
-
Wix 3.7 不适用于 VS2008。尝试构建时 VS 崩溃。
标签: wix windows-installer prerequisites