h1

How to Install the Oracle Client ODAC 11.2.0.2.0

February 1, 2013

See http://www.oracle-base.com/articles/misc/oui-silent-installations.php

In Sum:

1.  Generate a responses file (.rsp)

setup.exe -record -destinationFile c:\MyResponses.rsp

2.  Run the installer with the .rsp as input.  My powershell script looks like this:
function DoInstall([string]$appName, [string]$exePath, [string]$argList)

{
Write-Host Installing $appName ... -fore green
Write-Host "Exe Path: $exePath"
Write-Host "Arguments: $argList"
$process = (Start-Process -FilePath $exePath -ArgumentList $argList -Wait -Verb Runas -PassThru)
wait-process $process.id -erroraction:silentlycontinue

$code = $process.ExitCode
if(($code -eq 0) -or ($code -eq "3010"))
{
Write-Host "Installed $appName successfully." -fore green
}
else
{
throw "Exit code $code. The $appName Installation Failed."
}
}

$ODACArgs = '-silent -responseFile "S:\Tools\Win7Build\ODAC112021\Responses.rsp"'

$Exe = "S:\Tools\Win7Build\ODAC112021\setup.exe"

DoInstall "ODAC112021" $Exe $ODACArgs

3.  The output looks like this:

Starting Oracle Universal Installer...

Preparing to launch Oracle Universal Installer from C:\Users\E-JFOU~1\AppData\L
ocal\Temp\OraInstall2013-02-01_11-04-36AM. Please wait ... Oracle Universal Inst
aller, Version 11.2.0.2.0 Production
Copyright (C) 1999, 2010, Oracle. All rights reserved.

You can find the log of this install session at:
C:\Program Files (x86)\Oracle\Inventory\logs\installActions2013-02-01_11-04-36A
M.log
................................................................................
.................... 100% Done.
Loading Product Information
................................................................................
.............................. 100% Done.
Starting execution of Prerequisites...

Analyzing dependencies
............................................................... 47% Done.
................Dll to load is C:\Users\E-JFOU~1\AppData\Local\Temp\OraInstall20
13-02-01_11-04-36AM\Win32RunProcesses.dll
Loading psapi.dll from C:\Users\E-JFOU~1\AppData\Local\Temp\OraInstall2013-02-01
_11-04-36AM\psapi.dll
............................................... 61% Done.
...... 100% Done.
-----------------------------------------------------------------------------
Summary
Global Settings
Source: S:\Tools\Win7Build\ODAC112021\stage\products.xml
Oracle Base: c:\Oracle
Oracle Home: c:\Oracle\product\11.2.0\client_1 (OraClient11g_home1)
Installation Type: Custom
Product Languages
English (United Kingdom)
English
Space Requirements
C:\ Required 45MB (includes 42MB temporary) : Available 18.91GB
Reinstallations (7 products)
Oracle Data Access Components for Oracle Client 11.2.0.2.1
Oracle Providers for ASP.NET 11.2.0.2.0
Oracle Data Provider for .NET 11.2.0.2.0
Oracle Provider for OLE DB 11.2.0.2.0
Oracle Objects for OLE 11.2.0.2.0
Oracle Data Access Components Documentation for Visual Studio 2010 11.2.0.2.0

Oracle Instant Client 11.2.0.2.0
Already Installed (12 products)
Oracle Services For Microsoft Transaction Server 11.2.0.2.0
Oracle Data Access Components Documentation 11.2.0.2.0
Oracle ODBC Driverfor Instant Client 11.2.0.2.0
Oracle JDBC/OCI Instant Client 11.2.0.2.0
Oracle Globalization Support 11.2.0.2.0
SSL Required Support Files for InstantClient 11.2.0.2.0
RDBMS Required Support Files for Instant Client 11.2.0.2.0
SQL*Plus Files for Instant Client 11.2.0.2.0
Oracle Universal Installer 11.2.0.2.0
Oracle One-Off Patch Installer 11.2.0.0.2
Installer SDK Component 11.2.0.2.0
Sun JDK 1.5.0.24.08
-----------------------------------------------------------------------------
Deinstall in progress (Friday, 1 February 2013 11:05:35 o'clock GMT)
................................................................................
.................... 100% Done.

Deinstall successful

Installation in progress (Friday, 1 February 2013 11:05:51 o'clock GMT)
...................................................................PersistEnv
PersistEnv
67% Done.
Install successful

Setup in progress (Friday, 1 February 2013 11:06:29 o'clock GMT)
"c:\Oracle\product\11.2.0\client_1\flatten_file_list : does exists"
move /Y c:\Oracle\product\11.2.0\client_1\instantclient\oraociei11.dll c:\Oracle
\product\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\instantclient\oraociei11.sym c:\Oracle
\product\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\instantclient\orasql11.dll c:\Oracle\p
roduct\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\instantclient\orasql11.sym c:\Oracle\p
roduct\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\orannzsbb11.dll c:\Oracle\product\
11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\orannzsbb11.sym c:\Oracle\product\
11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\orannzmcs11.dll c:\Oracle\product\
11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\orannzentr11.dll c:\Oracle\product
\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\ocijdbc11.dll c:\Oracle\product\11
.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\ocijdbc11.sym c:\Oracle\product\11
.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\jdbc\lib\ojdbc5.jar c:\Oracle\product\
11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\jdbc\lib\ojdbc6.jar c:\Oracle\product\
11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\oci.dll c:\Oracle\product\11.2.0\c
lient_1
move /Y c:\Oracle\product\11.2.0\client_1\rdbms\admin\oci.sym c:\Oracle\product\
11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\ociw32.dll c:\Oracle\product\11.2.
0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\rdbms\admin\ociw32.sym c:\Oracle\produ
ct\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\oraocci11.dll c:\Oracle\product\11
.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\oraocci11.dll.manifest c:\Oracle\p
roduct\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\rdbms\admin\oraocci11.sym c:\Oracle\pr
oduct\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\genezi.exe c:\Oracle\product\11.2.
0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\rdbms\admin\genezi.sym c:\Oracle\produ
ct\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\adrci.exe c:\Oracle\product\11.2.0
\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\uidrvci.exe c:\Oracle\product\11.2
.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\rdbms\jlib\xstreams.jar c:\Oracle\prod
uct\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\heteroxa11.dll c:\Oracle\product\1
1.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\heteroxa11.sym c:\Oracle\product\1
1.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\jlib\orai18n.jar c:\Oracle\product\11.
2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\jlib\orai18n-mapping.jar c:\Oracle\pro
duct\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\sqlplus.exe c:\Oracle\product\11.2
.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\sqlplus.sym c:\Oracle\product\11.2
.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\instantclient\Orasqlplusic11.dll c:\Or
acle\product\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\wrc.exe c:\Oracle\product\11.2.0\c
lient_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\sqora32.dll c:\Oracle\product\11.2
.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\sqoras32.dll c:\Oracle\product\11.
2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\sqresus.dll c:\Oracle\product\11.2
.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\sqresja.dll c:\Oracle\product\11.2
.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\odbc\help\sqoraus.chm c:\Oracle\produc
t\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\odbc\help\sqoraja.chm c:\Oracle\produc
t\11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\oravssw.exe c:\Oracle\product\11.2
.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\oravssmsgUS.dll c:\Oracle\product\
11.2.0\client_1
move /Y c:\Oracle\product\11.2.0\client_1\bin\oravssmsg.dll c:\Oracle\product\11
.2.0\client_1
...INFO: c:\oracle\product\11.2.0\client_1\odp.net\bin\2.x\oracle.dataaccess.dll
is registered successfully in GAC.
INFO: Configuration Section "oracle.dataaccess.client" removed!
INFO: Oracle.DataAccess.Dll Provider Factory entry removed!

INFO: The following section has been added.
<section name="oracle.dataaccess.client" type="System.Data.Common.DbProviderConf
igurationHandler, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=
b77a5c561934e089" />
INFO: The following element added under DbProviderFactories.
<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" d
escription="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.Oracle
ClientFactory, Oracle.DataAccess, Version=2.112.2.0, Culture=neutral, PublicKeyT
oken=89b483f429c47342" />

INFO: Counters registered successfully in the system.
.INFO: policy.2.102.oracle.dataaccess,processorarchitecture=x86 is un-registered
successfully from GAC.
INFO: policy.2.111.oracle.dataaccess,processorarchitecture=x86 is un-registered
successfully from GAC.
INFO: policy.2.112.oracle.dataaccess,processorarchitecture=x86 is un-registered
successfully from GAC.
INFO: c:\oracle\product\11.2.0\client_1\odp.net\publisherpolicy\2.x\policy.2.102
.oracle.dataaccess.dll is registered successfully in GAC.
INFO: c:\oracle\product\11.2.0\client_1\odp.net\publisherpolicy\2.x\policy.2.111
.oracle.dataaccess.dll is registered successfully in GAC.
INFO: c:\oracle\product\11.2.0\client_1\odp.net\publisherpolicy\2.x\policy.2.112
.oracle.dataaccess.dll is registered successfully in GAC.
INFO: c:\oracle\product\11.2.0\client_1\odp.net\bin\4\oracle.dataaccess.dll is r
egistered successfully in GAC.
INFO: policy.4.112.oracle.dataaccess,processorarchitecture=x86 is un-registered
successfully from GAC.
INFO: c:\oracle\product\11.2.0\client_1\odp.net\publisherpolicy\4\policy.4.112.o
racle.dataaccess.dll is registered successfully in GAC.
INFO: Configuration Section "oracle.dataaccess.client" removed!
INFO: Oracle.DataAccess.Dll Provider Factory entry removed!

INFO: The following section has been added.
<section name="oracle.dataaccess.client" type="System.Data.Common.DbProviderConf
igurationHandler, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=
b77a5c561934e089" />
INFO: The following element added under DbProviderFactories.
<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" d
escription="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.Oracle
ClientFactory, Oracle.DataAccess, Version=4.112.2.0, Culture=neutral, PublicKeyT
oken=89b483f429c47342" />

INFO: Counters registered successfully in the system.
..INFO: c:\oracle\product\11.2.0\client_1\asp.net\bin\2.x\oracle.web.dll is regi
stered successfully in GAC.
INFO: policy.2.111.oracle.web,processorarchitecture=x86 is un-registered success
fully from GAC.
INFO: policy.2.112.oracle.web,processorarchitecture=x86 is un-registered success
fully from GAC.
INFO: c:\oracle\product\11.2.0\client_1\asp.net\publisherpolicy\2.x\policy.2.111
.oracle.web.dll is registered successfully in GAC.
INFO: c:\oracle\product\11.2.0\client_1\asp.net\publisherpolicy\2.x\policy.2.112
.oracle.web.dll is registered successfully in GAC.
ERROR: File not found: C:\Windows\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebA
dminFiles\App_Data\GroupedProviders.xml
ERROR: Error Loading GroupedProviders.xml file.
INFO: Following entry added to machine.config file.
<add name="OracleMembershipProvider" type="Oracle.Web.Security.OracleMembershipP
rovider, Oracle.Web, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f4
29c47342" connectionStringName="OraAspNetConString" applicationName="" enablePas
swordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="tru
e" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempt
s="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" pas
swordAttemptWindow="10" passwordStrengthRegularExpression="" />

INFO: Following entry added to machine.config file.
<add name="OracleProfileProvider" type="Oracle.Web.Profile.OracleProfileProvider
, Oracle.Web, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c4734
2" connectionStringName="OraAspNetConString" applicationName="" />

INFO: Following entry added to machine.config file.
<add name="OracleRoleProvider" type="Oracle.Web.Security.OracleRoleProvider, Ora
cle.Web, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" co
nnectionStringName="OraAspNetConString" applicationName="" />

INFO: Following entry added to machine.config file.
<add name="OracleSiteMapProvider" type="Oracle.Web.SiteMap.OracleSiteMapProvider
, Oracle.Web, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c4734
2" connectionStringName="OraAspNetConString" applicationName="" securityTrimming
Enabled="true" />

INFO: Following entry added to machine.config file.
<add name="OraclePersonalizationProvider" type="Oracle.Web.Personalization.Oracl
ePersonalizationProvider, Oracle.Web, Version=2.112.2.0, Culture=neutral, Public
KeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" application
Name="" />

INFO: Following entry added to machine.config file.
<add name="OracleWebEventProvider" type="Oracle.Web.Management.OracleWebEventPro
vider, Oracle.Web, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429
c47342" connectionStringName="OraAspNetConString" buffer="true" bufferMode="Orac
leNotification" />
INFO: c:\oracle\product\11.2.0\client_1\asp.net\bin\4\oracle.web.dll is register
ed successfully in GAC.
INFO: policy.4.112.oracle.web,processorarchitecture=x86 is un-registered success
fully from GAC.
INFO: c:\oracle\product\11.2.0\client_1\asp.net\publisherpolicy\4\policy.4.112.o
racle.web.dll is registered successfully in GAC.
INFO: Following entries added in GroupedProviders.xml file.
<MembershipProvider name="OracleMembershipProvider" /><RoleProvider name="Oracle
RoleProvider" />

INFO: Following entry added to machine.config file.
<add name="OracleMembershipProvider" type="Oracle.Web.Security.OracleMembershipP
rovider, Oracle.Web, Version=4.112.2.0, Culture=neutral, PublicKeyToken=89b483f4
29c47342" connectionStringName="OraAspNetConString" applicationName="" enablePas
swordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="tru
e" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempt
s="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" pas
swordAttemptWindow="10" passwordStrengthRegularExpression="" />

INFO: Following entry added to machine.config file.
<add name="OracleProfileProvider" type="Oracle.Web.Profile.OracleProfileProvider
, Oracle.Web, Version=4.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c4734
2" connectionStringName="OraAspNetConString" applicationName="" />

INFO: Following entry added to machine.config file.
<add name="OracleRoleProvider" type="Oracle.Web.Security.OracleRoleProvider, Ora
cle.Web, Version=4.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" co
nnectionStringName="OraAspNetConString" applicationName="" />

INFO: Following entry added to machine.config file.
<add name="OracleSiteMapProvider" type="Oracle.Web.SiteMap.OracleSiteMapProvider
, Oracle.Web, Version=4.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c4734
2" connectionStringName="OraAspNetConString" applicationName="" securityTrimming
Enabled="true" />

INFO: Following entry added to machine.config file.
<add name="OraclePersonalizationProvider" type="Oracle.Web.Personalization.Oracl
ePersonalizationProvider, Oracle.Web, Version=4.112.2.0, Culture=neutral, Public
KeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" application
Name="" />

INFO: Following entry added to machine.config file.
<add name="OracleWebEventProvider" type="Oracle.Web.Management.OracleWebEventPro
vider, Oracle.Web, Version=4.112.2.0, Culture=neutral, PublicKeyToken=89b483f429
c47342" connectionStringName="OraAspNetConString" buffer="true" bufferMode="Orac
leNotification" />
. 100% Done.
Setup successful

End of install phases.(Friday, 1 February 2013 11:06:54 o'clock GMT)
The installation of Oracle Data Access Components for Oracle Client was successf
ul.
Please check 'C:\Program Files (x86)\Oracle\Inventory\logs\silentInstall2013-02-
01_11-04-36AM.log' for more details.
Please press Enter to exit...

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: