我正試圖執行檢查,以查看運行安裝程序時是否安裝了.NET框架。WiX檢查.NET Framework 4
我增加了以下內容:
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
<PropertyRef Id="NETFRAMEWORK40FULL"/>
<Condition Message="This application requires .NET Framework 4.0. Please install the .NET Framework then run this installer again. Contact support at [email protected] if you have further issues.">
<![CDATA[Installed OR NETFRAMEWORK40FUL]]>
</Condition>
但是,它似乎總是導致假的,因爲它讓我停止你即使我已經安裝了完整的.NET框架(不只是客戶端)。
這是怎麼回事?
NETFRAMEWORK40FUL(僅在FULL一個L)名單有意在這裏? – DanNsk 2012-04-04 12:45:16
當!把這作爲一個解決方案,我會把它標記爲答案:) – TheGateKeeper 2012-04-04 12:55:45