我正在尝试执行一个检查,看看运行安装程序时是否安装了.NET框架.
<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 support@Swiftposter.com if you have further issues."> <![CDATA[Installed OR NETFRAMEWORK40FUL]]> </Condition>
然而,它总是似乎导致错误,因为它仍然阻止我,即使你有完整的.NET框架安装(不只是客户端).
这是怎么回事?
NETFRAMEWORK40FUL需要双L在FULL