473,324 Members | 2,370 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

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 6635
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John Dalberg | last post by:
I have an application that's giving an error during installation. "Error 1935. An error occured during the installation of assembly interop.sqldmo, version 8.0.0.0, PublicKeyToken........" I am...
0
by: Chandra | last post by:
Hi, I tried the following: >>> from win32com.client import DispatchWithEvents >>> class BackupEvent: .... def OnPercentComplete(self, sMessage, nPercent): .... print sMessage,...
1
by: Mohammed Abdel-Razzak | last post by:
Dear sirs I`ve used SQLDMO to make a backup to my database How can I use it to restore database? thanks Mohammed
3
by: T. | last post by:
I dumped VB and adopted C# for this version of Visual Studio. My problem! I am trying to reference an SQLDMO.Database object in C# like so: private SQLDMO.Database dbcurrent; private string...
1
by: | last post by:
Hi all My requirement is to "on button_click, backup a SQL database using SQLDMO.Backup object and update the progress in a ProgressBar. The problem is the progress bar does not update at all...
2
by: | last post by:
Hi all, continued from yesterday's posting... I still haven't found a solution to this issue. I put a breakpoint in private void SqlBackupPercentComplete(string message, int Percent) {...
1
by: | last post by:
Hi all I am posting this to check if anyone could help me. The problem still persists. I am beginner in C#. Thanks. Subject: SQLDMO.Backup and ProgressBar - help please From: ...
0
by: Craig G | last post by:
i have a small application that uses the SQLDMO com object when i build a setup package to distribute it adds both the Interop.SQLDMO.dll assembly & sqldmo.dll File the problem is that the...
1
by: Henry Padilla | last post by:
I am making a SQL Server management tool and I want to know if I can use SQLDMO and redist or if I have to do things the "hard" way. Thanks for the help, Tom P.
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.