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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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.
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2002-11-26 20:21:09 | Re: ODBC for Windows |
Previous Message | Dave Page | 2002-11-26 20:10:44 | Re: Duplicate Table Names in PostgreSQL |