Skip site navigation (1) Skip section navigation (2)

Re: Install

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "David A(dot) Leedom" <daleedom(at)hightowergroup(dot)com>,<pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Install
Date: 2002-11-26 20:16:28
Message-ID: 03AF4E498C591348A42FC93DEA9661B884E9@mail.vale-housing.co.uk (view raw or flat)
Thread:
Lists: pgsql-odbc

> -----Original Message-----
> From: David A. Leedom [mailto:daleedom(at)hightowergroup(dot)com] 
> Sent: 20 November 2002 04:38
> To: pgsql-odbc(at)postgresql(dot)org
> 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.

pgsql-odbc by date

Next:From: Dave PageDate: 2002-11-26 20:21:09
Subject: Re: ODBC for Windows
Previous:From: Dave PageDate: 2002-11-26 20:10:44
Subject: Re: Duplicate Table Names in PostgreSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group