<![CDATA[(NOT Installed) AND (ACCESSRUNTIMECHECK <> "Access.Application.12")]]>
我使用上面的表达式来检查我是否是第一次安装,以及 ACCESSRUNTIMECHECK(来自注册表的属性)值是否与上面的值不匹配。但是它不能正常工作。怎么了?
我确信 ACCESSRUNTIMECHECK 的值等于“Access.Application.12”。
<Property Id="ACCESSRUNTIMECHECK">
<RegistrySearch Id="AccessRuntimeSearch"
Root="HKLM"
Key="SOFTWARE\Classes\Access.Application\CurVer"
Type="raw" />
</Property>
<Condition Message="Access not installed!">
<![CDATA[(NOT Installed) AND (ACCESSRUNTIMECHECK <> "Access.Application.12")]]>
</Condition>