Install
Install
От:
"David A. Leedom" <daleedom@hightowergroup.com>
Дата:
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. The Hightower Group, Inc. Information Technology Consulting 165 West Airport Road/Lititz, PA 17543 V:717-560-4002, 877-560-4002 x: 114 F:717-560-2825 www.hightowergroup.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.417 / Virus Database: 233 - Release Date: 11/8/2002
Re: Install
От:
"Dave Page" <dpage@vale-housing.co.uk>
Дата:
> -----Original Message----- > From: David A. Leedom [mailto:daleedom@hightowergroup.com] > Sent: 20 November 2002 04:38 > To: pgsql-odbc@postgresql.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.