The*_*per 13 windows-installer wix .net-framework-version
我正在尝试执行检查以查看运行安装程序时是否安装了.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>
Run Code Online (Sandbox Code Playgroud)
但是,它似乎总是导致错误,因为即使你安装了完整的.NET框架(不仅仅是客户端),它仍然会阻止我.
这是怎么回事?