如何在Wix工具集安装中检查是否安装了SQL Server 2012 Express版本?
<Property Id="SQLSERVER">
<RegistrySearch Id="SQLServer" Root="HKLM"
Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL11.SQLEXPRESS"
Win64="yes" Type="raw" Name="InstalledInstances"/>
</Property>
<Condition Message="You don't have SQL Server installed.">
<![CDATA[SQLSERVER >< SQLEXPRESS]]>
</Condition>
答案 0 :(得分:0)