我偶然發現了這個文檔。 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