469,167 Members | 1,151 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,167 developers. It's quick & easy.

SQLDMO Installation

ewm
Using InstallShield Developer 7.04.

Does anyone know of a good way to detect if SQLDMO is installed?

TIA
mcpoo
Jul 20 '05 #1
2 6091
hi,
"ewm" <ew******@bigfoot.com> ha scritto nel messaggio
news:6d*************************@posting.google.co m...
Using InstallShield Developer 7.04.

Does anyone know of a good way to detect if SQLDMO is installed?


do not know about InstallShield, but you coul'd try instantiating
SQLDMO.SQLServer object to detect it, or using
FindFisrtFile API recursively on the destination pc.., but if you can create
an object of name SQLDMO.SQLServer you woul'd be sure it si correctly
registered..
hth
Andrea Montanari
an********@virgilio.it
mo**************@virgilio.it
http://www.asql.biz/DbaMgr.shtm
DbaMgr2k ver 0.4.0 - DbaMgr ver 0.50.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
--------- remove DMO to reply
Jul 20 '05 #2
ewm
Instantianting an object is not an object. I am trying to determine if
SQLDMO is installed. If it is, my installation script will not install
it, otherwise, the installation script will install SQLDMO.

Just finding a file (like sqldmo.dll) is not sufficient. The file must
exist and must be registered properly.

Thanks for the ideas though.

mcpoo

"Andrea Montanari" <an***********@virgilio.it> wrote in message news:<nk********************@news2.tin.it>...
hi,
"ewm" <ew******@bigfoot.com> ha scritto nel messaggio
news:6d*************************@posting.google.co m...
Using InstallShield Developer 7.04.

Does anyone know of a good way to detect if SQLDMO is installed?


do not know about InstallShield, but you coul'd try instantiating
SQLDMO.SQLServer object to detect it, or using
FindFisrtFile API recursively on the destination pc.., but if you can create
an object of name SQLDMO.SQLServer you woul'd be sure it si correctly
registered..
hth
Andrea Montanari
an********@virgilio.it
mo**************@virgilio.it
http://www.asql.biz/DbaMgr.shtm
DbaMgr2k ver 0.4.0 - DbaMgr ver 0.50.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
--------- remove DMO to reply

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by John Dalberg | last post: by
reply views Thread by Chandra | last post: by
1 post views Thread by Mohammed Abdel-Razzak | last post: by
3 posts views Thread by T. | last post: by
1 post views Thread by | last post: by
reply views Thread by Craig G | last post: by
1 post views Thread by Henry Padilla | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.