logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Install: msg#00156

Subject: Re: Install

> -----Original Message-----
> From: David A. Leedom [mailto:daleedom@xxxxxxxxxxxxxxxxxx] 
> Sent: 20 November 2002 04:38
> To: pgsql-odbc@xxxxxxxxxxxxxx
> Subject: [ODBC] Install
> 
> 
> Is there an easy way to tell if postODBC has been installed already?
> 
> I am using a product called: CreateInstall from GenTee inc.  
> They have some 
> conditional stuff in their install scripts.
> 
> I am trying to figure out a way to skip the install if, during my 
> application install, if postODBC is already on the system.

Hi,

If CreateInstall supports Microsoft Installer, then the best method is
to use the merge module we provide on http://odbc.postgresql.org/.

Failing that, check for the existance of
C:\Windows\System32\psqlodbc.dll and the registry key
HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\ODBC Drivers\PostgreSQL.

There are also registry keys under
HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\PostgreSQL, but it these
are missing but the other exists, then you have a problem anyway.

HTH, Regards,

Dave.

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>