Reputation: 729
My application needs SMO libraries to be installed. I want my installer to verify if SQL Server 2008 Management Objects already installed and if not install the SMO feature pack bundled with my installer. How do I find out if it is already installed? Is there any registry key to verify?
Thanks, Hem
Upvotes: 2
Views: 4705
Reputation: 11148
Solution for SQL Server 2012:
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\SharedManagementObjects\CurrentVersion\Version
You can check if this key exists (and check if the value is greater than 11).
Upvotes: 2