我需要在安装之前检查 .NET Framework。我添加了这个
<PropertyRef Id="NETFRAMEWORK40" />
<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 NETFRAMEWORK40]]>
</Condition>
文件的开头包含
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
并在链接时出现错误
error LGHT0094 : Unresolved reference to symbol 'Property:NETFRAMEWORK40' in section 'Product:*'.
是否有我应该插入这些行的特定位置?我尝试了我能想到的大多数地方。
最佳答案
关于wix - WiX 中未解析的引用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21184992/