我偶然发现了这个文档。 http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm。Wix安装程序安装.net如果没有安装
我不知道如何安装,例如.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!
http://stackoverflow.com/questions/6991789/how-to-install-net-framework-4-0 - 部分安装检查了这一点 – Gilad 2013-02-11 19:00:35
Wix 3.7不适用于VS2008。尝试构建时崩溃VS。 – 2013-06-25 16:04:42