oracle client 11g for windows 7, there are no files that call "prereq" and "refhost.xml" - windows

I need oracle client 11g for using Toad.
My OS is windows 7.
To install oracle client 11g, I downloaded it from oracle site.
When i installed that, there was error that didn't install.
So I searched solution, and found it.
http://msutic.blogspot.kr/2009/08/how-to-instal-oracle-client-11g-on.html
But the problem is that there is no file that call "prereq" in stage folder.
I attach capture my situation.
enter image description here
how can i find "prereq" folder?
I downloaded "win64_11gR2_client.zip" from oracle site.

Almost everything that needs an Oracle 'client' can use Oracle Instant Client.
You just need to know whether the application requires the 32-bit or 64-bit client. Then download the 'Basic' package and unzip it. Add the directory to PATH. On Windows you will also need the correct VS Redistributable from Microsoft installed. These are given on the Instant Client download pages, or use dumpbin /dependents oci.dll to find which Microsoft redistributable library is needed by your version of Instant Client.
Some applications may require other configuration, and/or Oracle header files. The headers are in the Instant Client SDK package.

Related

How to install Oracle 18c client on Windows 10

I need to install the Oracle 18c client on a VM with Windows 10. I´ve already downloaded the client files, but there´s no have any setup.exe inside the folders. Can someone help me? I need only to copy the files for my computer and to set the register? How can i do that?
Regards
Either you have downloaded Oracle (full) Client but your download has failed and you need to download again the installation media.
Or your download has succeeded and you have downloaded Oracle Instant Client: in this case there is no setup.exe and you only need to follow this

Why does my Oracle client installation not appear in Windows Control Panel?

I have an Oracle client installed on my workstation. tnsping reports:
C:\temp> tnsping
TNS Ping Utility for 32-bit Windows: Version 12.2.0.1.0 - Production
on 06-JUL-2018 09:22:33
Copyright (c) 1997, 2016, Oracle. All rights reserved.
However, it does not appear in Control Panel Programs. The only Oracle thing there (other than Java) is
Oracle data Provider for .NET Help
I just want to understand this (apparent) disconnect. Bingoogle found nothing (or I didn't ask the question the right way).
However, if you installed the client using "setup.exe", then - if it (or any other program you install) creates a registry key whose name is longer than 60 characters, it won't be displayed in "Programs" in Control Panel.
If it's an Instant Client, there is no installer, there is no official windows application installation.
Instead, it's a Zip archive that you extract to a local folder and simply add it's 'bin' folder to your machine's PATH.
Or as the docs say..
Installation
See the Instant Client Home Page for more information about Instant
Client packages.
Download the appropriate Instant Client packages for your platform. All installations require the Basic or Basic Light package.
Unzip the packages into a single directory such as C:\oracle\instantclient_12_2
Add this directory to the PATH environment variable. If you have multiple versions of Oracle libraries installed, make sure the new
directory occurs first in the path

Proper Oracle ODBC Driver Installation on 32 bit Windows 7

I am using an Excel VBA application to connect to an Oracle 12c database.
Excel is 2010, 32 bit, in Windows 7.
Many have advised Oracle Instant Client, but this has not worked for me. The installation requires a number of configuration steps that I cannot perform due to administrative restrictions on my workstation.
However, I have installed the ODAC 12.2c Release 1 and Oracle Developer Tools for Visual Studio (12.2.0.1.0), available HERE. This package includes the Oracle ODBC driver which works for my application. However, it contains several other components that I do not need, and throws some errors during installation that are disconcerting.
Can anyone tell me which of the following components I actually need to select in order to get the ODBC Driver?
Since I cannot get InstantClient to work with my companies restrictions, I'm now aiming to use this package, but hopefully to slim it down to just the component I need. I'm doing trial and error, but it's messy. The installation takes a long time and there's no uninstaller, so I have to manually delete the files after installation.
Thanks for any help you can provide!
The smallest solution is to download the
Instant Client Package - ODBC: Additional libraries for enabling ODBC applications (instantclient-odbc-nt-12.2.0.1.0-2.zip)
from Instant Client Downloads for Microsoft Windows 32-bit
You can also download the ODAC with Oracle Developer Tools for Visual Studio from ODAC Developer Downloads - Oracle Universal Installer
Get the full 32-bit Oracle client installer (not the ODAC) from here:
http://download.oracle.com/otn/nt/oracle12c/122010/win32_12201_client.zip
Do an silent install using this reponse file (edit as needed and save as client_install_32.rsp in the same directory as setup.exe)
Response file
setup.exe" ORACLE_HOME_NAME=OracleClient12201x32 -waitforcompletion -nowait -silent -responseFile client_install_32.rsp
The key config entry is this:
oracle.install.client.customComponents="oracle.rdbms.oci:12.2.0.1.0","oracle.network.client:12.2.0.1.0","oracle.odbc:12.2.0.1.0"

ODAC for visual studio 2013

There are a lot of ODAC download at the Oracle website but I want to know what is the right ODAC to download for my VS 2013? I have a Windows 7 64-bit OS.
And also, do I need to install ODAC on BOTH my laptop (where I will create my project) and to the Oracle database server?
When I'm trying to connect to my Oracle database, it throws me this error:
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater
so I read other blogs saying that I should install ODAC, but these blogs example are using either VS2005 or VS2008, but mine is VS2013
Start with easy answers:
No, you don't have to install any ODAC on Oracle database server (most likely they might be installed anyway by default)
It does not matter at all which Visual Studio you have, regarding Oracle installation they are all the same.
Now regarding your error:
"Microsoft .NET Framework Data Provider for Oracle", i.e. System.Data.OracleClient is deprecated for ages, you should not use it in new projects. You should use the Oracle provider "Oracle Data Provider for .NET" (ODP.NET), so by downloading ODAC from Oracle you have been on the right path.
When you like to use ODP.NET you also have to install an Oracle Client, otherwise it does not work (this requirement is also valid for System.Data.OracleClient, that's the actual error you get).
You can either install "Oracle Instant Client" and ODP.NET or download full Oracle Client where you can make a "Custom" installation. There you have to enable component "Oracle Data Provider for .NET" at least.
It is important to have everywhere the same architecture, i.e. Oracle Client, ODP.NET and your application must be all the same - either x86 or x64 ("AnyCPU" means x64 on nowadays 64-bit Windows). In case you have to support both x86 and x64 follow this instruction to install x86 and x64 on one machine.
Another possibility is to use the "ODP.NET Managed Driver", this one is just a single .dll and does not require any further Oracle client installation. Unlike "ODP.NET" the "ODP.NET Managed Driver" does not depend on the architecture, i.e. it works for both x86 and x64.
It does not matter whether your database is 32-bit or 64-bit. This applies for everything mentioned above.

Unable to set up ODBC after installing ODAC (Xcopy)

We are trying to use ODAC Xcopy to minimize the footprint of installing Oracle 11g Client. Currently, we use the Oracle 11g Admin install (~700mb). I've tried using the ODAC Xcopy, and that works. However, the only issue I now have is that I cannot set up an ODBC on the target system by just installing the ODAC Xcopy. After installing ODAC (Windows XP fyi), I go to Control Panel-->Admin Tools-->Data Sources (ODBC)-->System DSN-->Add-->Microsoft ODBC for Oracle. I get the following error: "The Oracle(tm) client and networking components were not found. These components are supplied by Oracle and are part of the Oracle Version 7.3 (or greater) client software installation. You will be unable to use this driver until these components have been installed." I've tried editing the registry and creating the same keys that the Oracle Admin install creates, but still no luck. I'm not sure how to get past this. Any suggestions? Thanks in advance.
Shouldn't you be using the Oracle Driver instead of the Microsoft ODBC driver? Microsoft's driver will require the SQLNet drivers which come with your full client install. There should be an additional ODBC driver available after installing the Oracle ODAC. Go to the Drivers tab of the ODBC Adminstrator and you should see something along the lines of "Oracle in OraClient11g_home1" with a version of 11.something. That's the driver you should make your DSN from. I've only used the 10g ODBC install (which could be minimally installed with a selection of "Instant Client").
HTH
I would advise you stick to the full installer, which takes care of all the configuration tasks (registry, DLL registrations, etc..), but do a custom install using a response file.
Get the correct version of Oracle client installer (not the ODAC) from here:
32-bit:
https://download.oracle.com/otn/nt/oracle11g/112010/win32_11gR2_client.zip
64-bit:
https://download.oracle.com/otn/nt/oracle11g/112010/win64_11gR2_client.zip
the Oracle client bitness has to match your executable's.
Do an silent install using this reponse file (edit as needed and save as client_install.rsp in the same directory as setup.exe)
Response file
setup.exe" ORACLE_HOME_NAME=OracleClient11201 -waitforcompletion -nowait -silent -responseFile client_install.rsp
The key config entry is this:
oracle.install.client.customComponents="oracle.rdbms.oci:11.2.0.1.0","oracle.network.client:11.2.0.1.0","oracle.odbc:11.2.0.1.0"

Resources