Home All Groups Group Topic Archive Search About

How to detect whether SMO is installed?

Author
30 Mar 2007 4:46 PM
n7dai
Hi, folks --

   I am working on an install bootstrapper that (among other things)
will install Server Management Objects (SQLServer2005_XMO.msi from SQL
Server 2005 Feature Pack) iff it's not already installed.

  So, how to detect programmatically whether or not it's already
installed?

  What files/version/registry keys/usual suspects should I be looking
for?

  Thanks in advance for your help.

-- Davidson

Author
30 Mar 2007 5:04 PM
Kent Tegels
Hello n7***@comcast.net,


I normally look for C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies\Microsoft.SqlServer.Smo.dll.
I believe current-most is 9.0.3042.0.

Thanks!
Kent Tegels
DevelopMentor
http://staff.develop.com/ktegels/
Author
31 Mar 2007 1:25 PM
Jens K. Suessmeyer
What about:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=577731&SiteID=1

Jens K. Suessmeyer.

---
http://www.sqlserver2005.de
---

<n7***@comcast.net> wrote in message
Show quote
news:1175273193.753957.182290@e65g2000hsc.googlegroups.com...
> Hi, folks --
>
>   I am working on an install bootstrapper that (among other things)
> will install Server Management Objects (SQLServer2005_XMO.msi from SQL
> Server 2005 Feature Pack) iff it's not already installed.
>
>  So, how to detect programmatically whether or not it's already
> installed?
>
>  What files/version/registry keys/usual suspects should I be looking
> for?
>
>  Thanks in advance for your help.
>
> -- Davidson
>

AddThis Social Bookmark Button