Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Determining whether Oracle8 Client is installed
HKLM\SOFTWARE\ORACLE\ORACLE_HOME key will point you to current
Oracle home. Under this directory, inspect bin\ociw32.dll and possibly one
of oraclient8.dll, ora80.dll, ora802.dll, ora803.dll, ora804.dll, ora805.dll
or ora806.dll (oraclient8.dll is common for all 8i releases while the rest is
for specific Oracle8 version). You can also check for oracore8.dll since this
DLL is also referenced from ociw32.dll. All DLLs contain VS_VERSION_INFO
resource, so I think you can use InstallShield version check with them.
If the key or any of the dlls are missing (note that any one of oraclient8.dll
or oraXXX.dll is needed, not all of them) you can assume that Oracle client
software is not installed.
hth.
-- Vladimir Zakharychev (bob@dpsp-yes.com) http://www.dpsp-yes.com Dynamic PSP(tm) - the first true RAD toolkit for Oracle-based internet applications. All opinions are mine and do not necessarily go in line with those of my employer. "SJ" <panettonea_at_yahoo.com> wrote in message news:1ef5cd76.0209192203.312455fd_at_posting.google.com...Received on Fri Sep 20 2002 - 04:58:45 CDT
> Daniel Morgan <dmorgan_at_exesolutions.com> wrote in message
news:<3D8A38CC.7841C754_at_exesolutions.com>...
> > SJ wrote:
> >
> > > Hi. I am writing an InstallShield, and in it I need to determine
> > > whether Oracle8 Client is installed on Windows2000 machines. Is there
> > > a certain DLL I can check the version of, or is there no easy way to
> > > tell? Thanks for any help.
> >
> > Look for the registry keys at HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.
> >
> > But this is about as useful, I would think, as is reinventing fire and
> > likely a violation of Oracle's software licensing agreement. What can you
> > possibly do to install the Oracle Client that isn't already done by the
> > Oracle CD other than make a mess?
> >
> > Daniel Morgan
>
> Thanks, but looking at those registry keys doesn't really tell me
> whether *Oracle 8* Client is installed, as opposed to some other
> version.
>
> To answer your question, I am checking company machines (with an
> InstallShield) to see whether Oracle 8 Client is installed, and if
> not, then the InstallShield will launch the Oracle Setup.exe from a
> network location. It's that simple.
![]() |
![]() |