Home » Infrastructure » Windows » silent install of Oracle Client 9
silent install of Oracle Client 9 [message #137795] |
Fri, 16 September 2005 16:32 |
smokin5s
Messages: 18 Registered: September 2005 Location: Columbus, Ohio
|
Junior Member |
|
|
How can I run a silent install of Oracle 9 client without the users seeing the Install? I will be deploying it through SMS.
Thanks for the help in advance.
|
|
|
|
|
Re: silent install of Oracle Client 9 [message #138048 is a reply to message #138032] |
Mon, 19 September 2005 10:37 |
tarundua
Messages: 1080 Registered: June 2005 Location: India
|
Senior Member |
|
|
always better to read some documentation.
There will be a folder named response in ur installation CD. Open that folder and copy the respective demo response file on your system and edit it accordingly.
regards,
tarun
|
|
|
Re: silent install of Oracle Client 9 [message #138160 is a reply to message #138048] |
Tue, 20 September 2005 09:01 |
smokin5s
Messages: 18 Registered: September 2005 Location: Columbus, Ohio
|
Junior Member |
|
|
ok, I tried copying the script file to the root of the users C drive, then ran this setup.exe -silent -responsefile c:\clientruntime.rsc and it looks like setup runs for about 15 seconds, then nothing else happens... am I doing something wrong with my commandline?
|
|
|
|
|
|
|
|
Re: silent install of Oracle Client 9 [message #138448 is a reply to message #138349] |
Thu, 22 September 2005 01:27 |
tarundua
Messages: 1080 Registered: June 2005 Location: India
|
Senior Member |
|
|
Hi smokin5s,
Back with the experiment ,
Did you edit the response file after copying it from the CD ?
and your command i just noticed
Quote: | I tried copying the script file to the root of the users C drive, then ran this setup.exe -silent -responsefile c:\clientruntime.rsc
|
The extension is .rsp not .rsc that you specified.
Now lets discuss it step by step --
1. Copy the response file from the CD. ( I copied clientcustom.rsp file at c:\oracle)
2. Edit the copied response file as per your requirement .
3. Run the command , i used
C:\Oracle\CD1>setup.exe -silent -responsefile "c:\oracle\clientcustom.rsp"
and it worked fine and client is installed. I have attached my response file for your reference .
And one more thing nothing will be shown to you because you are doing a silent install.
On my machine it took around half hour to install (WinXP with 256 RAM) . It might vary on your box.
So try again , good luck .
regards,
tarun
|
|
|
|
|
|
Re: silent install of Oracle Client 9 [message #148424 is a reply to message #137795] |
Thu, 24 November 2005 03:40 |
Tezro
Messages: 2 Registered: November 2005
|
Junior Member |
|
|
Anyone know why using a second .rsp file in line with the first only shows a empty summary screen?
I have made a runtime .rsp my self which works perfectly.
I then made a .rsp after it for installing Windows Interfaces module.
When the setp.exe is used with runtime.rsp it install just fine. however, the odbc.rsp is called after it's done. runtime.rsp has lines to call this odbc.rsp though.
Trying to run setup.exe with the odbc.rsp after having done the runtime.rsp results in the summary screen with no selections made.
I've been breaking my had over this, but don't understand why...
Does anyone know an answer to this one?
|
|
|
Re: silent install of Oracle Client 9 [message #303080 is a reply to message #137795] |
Wed, 27 February 2008 22:08 |
bensoules
Messages: 1 Registered: February 2008
|
Junior Member |
|
|
Hi,
2 things,
which version is it?
9.2.0.1 has some issue with recording installations, just google it to see problems.
The other thing is to make sure you copy everything to your local pc before you try to do the silent install (or on a network share) as direct from the CD will fail in some situations.
Here is a example response file.
Ta - Ben
----Save the following as clientcustom.rsp--------
####################################################################
## ##
## Oracle9i Client Custom Install Response File Template ##
## -------------------------------------------------------------- ##
## ##
## Copyright(c) Oracle Corporation 1998,2000. All rights reserved.##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## identifies the variable type. ##
## ##
## Please specify the values in the following format: ##
## ##
## Type Example ##
## String "Sample Value" ##
## Boolean True or False ##
## Number 1000 ##
## StringList {"String value 1","String Value 2"} ##
## ##
## The values that are given as <Value Required> need to be ##
## specified for a silent installation to be successful. ##
## ##
## ##
## This response file is generated by Oracle Software ##
## Packager. ##
####################################################################
[General]
RESPONSEFILE_VERSION=1.7.0
[SESSION]
#-----------------------------------------------------------------------------
# Name : UNIX_GROUP_NAME
# Datatype : String
# Description : Unix group to be set for the inventory
# : directory. Valid only in Unix platforms.
# Valid values : a string containing the group name
# Example value : "install"
# Default value : none
# Mandatory : No
#-----------------------------------------------------------------------------
UNIX_GROUP_NAME=<Value Unspecified>
#-----------------------------------------------------------------------------
# Name : FROM_LOCATION
# Datatype : String
# Description : Complete path of the products.jar file from the staging area
# containing products to install
# Valid values : Full path ending in "products.jar"
# Example value : "e:\stage\products.jar"
# Default value : "..\stage\products.jar"
# Mandatory : No
#-----------------------------------------------------------------------------
FROM_LOCATION="%SystemDrive%\installs\Oracle\Oracle9i\9.2.0.1\stage\products.jar"
#-----------------------------------------------------------------------------
# Name : FROM_LOCATION_CD_LABEL
# Datatype : String
# Description : This variable should only be used in multi-CD installations.
# It includes the label of the Compact Disk where the file
# "products.jar" exists. The label can be found in the file
# "disk.label" in the same directory as products.jar.
# Valid values : Any string
# Example value : "oracle9i"
# Mandatory : No
#-----------------------------------------------------------------------------
FROM_LOCATION_CD_LABEL=<Value Unspecified>
#-----------------------------------------------------------------------------
# Name : NEXT_SESSION_RESPONSE
# Datatype : String
# Description : Optionally specifies the full path of next session's
# response file. If only a file name is specified, the
# response file is retrieved from <TEMP>/oraInstall
# directory. This variable is only active if
# NEXT_SESSION is set to true.
# Valid values : Full path to a valid response file or a response file name
# Example value : "c:\temp\install.rsp"
# Default value : None
# Mandatory : No
#-----------------------------------------------------------------------------
NEXT_SESSION_RESPONSE=<Value Unspecified>
#-----------------------------------------------------------------------------
# Name : ORACLE_HOME
# Datatype : String
# Description : Full path of directory to use for installing Oracle
# products - the "Oracle Home"
# Valid values : Directory path (existent or non-existent)
# Example value : "d:\oracle\products\9.0.1"
# Default value : none
# Mandatory : Yes
#-----------------------------------------------------------------------------
ORACLE_HOME="%SystemDrive%\oracle\ora92"
#-----------------------------------------------------------------------------
# Name : ORACLE_HOME_NAME
# Datatype : String
# Description : Name used to uniquely identify the Oracle Home on this
# system.
# Valid values : String that is unique on this system
# Example value : "OHOME1"
# Default value : none
# Mandatory : Yes
#-----------------------------------------------------------------------------
ORACLE_HOME_NAME="OraHome92"
#-----------------------------------------------------------------------------
# Name : TOPLEVEL_COMPONENT
# Datatype : StringList
# Description : Top-level product and version to install
# The format is of the form {"<Internal name>", "<version>"}
# Note : DO NOT CHANGE THE DEFAULT VALUE.
# To install different top-level products, use one of the
# other response file templates
# Mandatory : Yes
#-----------------------------------------------------------------------------
TOPLEVEL_COMPONENT={"oracle.client","9.2.0.1.0"}
#-----------------------------------------------------------------------------
# Name : DEINSTALL_LIST
# Datatype : StringList
# Description : List of components to be deinstalled during a
# : deinstall session
# Valid values : <"oracle.server","9.2.0.1.0">
# Default value : none
# Mandatory : No
#-----------------------------------------------------------------------------
DEINSTALL_LIST={"oracle.client","9.2.0.1.0"}
#-----------------------------------------------------------------------------
# Name : SHOW_SPLASH_SCREEN
# Datatype : Boolean
# Description : Set to true to show the initial splash screen of the
# installer
# Valid values : true, false
# Default value : false
# Mandatory : No
#-----------------------------------------------------------------------------
SHOW_SPLASH_SCREEN=true
#-----------------------------------------------------------------------------
# Name : SHOW_WELCOME_PAGE
# Datatype : Boolean
# Description : Set to true to show the Welcome page of the installer
# Valid values : true, false
# Default value : false
# Mandatory : No
#-----------------------------------------------------------------------------
SHOW_WELCOME_PAGE=false
#-----------------------------------------------------------------------------
# Name : SHOW_COMPONENT_LOCATIONS_PAGE
# Datatype : Boolean
# Description : Set to true to show the component locations page in
# the installer. This page only appears if there are
# products whose install directories can be changed.
# If you set this to false you will prevent the user
# from specifying alternate install directories.
# Valid values : true, false
# Default value : false
# Mandatory : No
#-----------------------------------------------------------------------------
SHOW_COMPONENT_LOCATIONS_PAGE=false
#-----------------------------------------------------------------------------
# Name : SHOW_CUSTOM_TREE_PAGE
# Datatype : Boolean
# Description : Set to true to display the available products
# selection tree during a Custom install
# Valid values : true, false
# Default value : false
# Mandatory : No
#-----------------------------------------------------------------------------
SHOW_CUSTOM_TREE_PAGE=false
#-----------------------------------------------------------------------------
# Name : SHOW_SUMMARY_PAGE
# Datatype : Boolean
# Description : Set to true to display the Summary page in the
# installer
# Valid values : true, false
# Default value : false
# Mandatory : No
#-----------------------------------------------------------------------------
SHOW_SUMMARY_PAGE=false
#-----------------------------------------------------------------------------
# Name : SHOW_INSTALL_PROGRESS_PAGE
# Datatype : Boolean
# Description : Set to true to show the install progress screen.
# This screen shows detailed status of the
# installation, which file is being copied, which link
# action is being performed, etc. It also shows
# percentage complete.
# Valid values : true, false
# Default value : true
# Mandatory : Yes
#-----------------------------------------------------------------------------
SHOW_INSTALL_PROGRESS_PAGE=true
#-----------------------------------------------------------------------------
# Name : SHOW_REQUIRED_CONFIG_TOOL_PAGE
# Datatype : Boolean
# Description : Set to true to display the status screen for
# required configuration tools. This screen shows the
# status of each tool along with detailed information
# in the event of tool failure.
# Valid values : true, false
# Default value : true
# Mandatory : Yes
#-----------------------------------------------------------------------------
SHOW_REQUIRED_CONFIG_TOOL_PAGE=false
#-----------------------------------------------------------------------------
# Name : SHOW_OPTIONAL_CONFIG_TOOL_PAGE
# Datatype : Boolean
# Description : Set to true to display the optional configuration
# tool page which allows you to launch optional
# configuration tools and view details status,
# including details on any failures.
# Valid values : true, false
# Default value : false
# Mandatory : No
#-----------------------------------------------------------------------------
SHOW_OPTIONAL_CONFIG_TOOL_PAGE=false
#-----------------------------------------------------------------------------
# Name : SHOW_RELEASE_NOTES
# Datatype : Boolean
# Description : Set to true to show the release notes screen from
# which Release Notes can be viewed. NOTE, 9.0.1 does
# not use any release notes so this will not be
# relevant for an 9.0.1 install.
# Valid values : true, false
# Default value : false
# Mandatory : No
#-----------------------------------------------------------------------------
SHOW_RELEASE_NOTES=false
#-----------------------------------------------------------------------------
# Name : SHOW_ROOTSH_CONFIRMATION
# Datatype : Boolean
# Description : Set to true to display the dialog which prompts the
# user to run root.sh before a database is created.
# If this is set to false, the root.sh script can be
# run manually after installation, but the Database
# Configuration Assistant may not have permissions to
# update the oratab file if this is the first Oracle
# installation on the machine.
# Valid values : true, false
# Default value : true
# Mandatory : No
#-----------------------------------------------------------------------------
SHOW_ROOTSH_CONFIRMATION=false
#-----------------------------------------------------------------------------
# Name : SHOW_END_SESSION_PAGE
# Datatype : Boolean
# Description : Set to true to display end session dialog. This
# page shows whether the installation is successful.
# Valid values : true, false
# Default value : false
# Mandatory : No
#-----------------------------------------------------------------------------
SHOW_END_SESSION_PAGE=false
#-----------------------------------------------------------------------------
# Name : SHOW_EXIT_CONFIRMATION
# Datatype : Boolean
# Description : Set to true to display dialog for confirming exit.
# If set to false, installer will exit without
# prompting.
# Valid values : true, false
# Default value : false
# Mandatory : No
#-----------------------------------------------------------------------------
SHOW_EXIT_CONFIRMATION=false
#-----------------------------------------------------------------------------
# Name : NEXT_SESSION
# Datatype : Boolean
# Description : Set to true to allow users to go back to the File
# Locations page for another installation. If this is
# set to true, NEXT_SESSION_RESPONSE should be used to
# indicate location of the second reponse file.
# Valid values : true, false
# Default value : false
# Mandatory : No
#-----------------------------------------------------------------------------
NEXT_SESSION=false
#-----------------------------------------------------------------------------
# Name : NEXT_SESSION_ON_FAIL
# Datatype : Boolean
# Description : Set to true to allow users to go back to the File
# Locations page for another installation even if the
# first installation failed. This flag is only
# relevant if NEXT_SESSION is set to true.
# Valid values : true, false
# Default value : false
# Mandatory : No
#-----------------------------------------------------------------------------
NEXT_SESSION_ON_FAIL=false
#-----------------------------------------------------------------------------
# Name : SHOW_DEINSTALL_CONFIRMATION
# Datatype : Boolean
# Description : Set to true if deinstall confirmation is needed
# : during a deinstall session.
# Valid values : true, false
# Default value : true
# Mandatory : No
#-----------------------------------------------------------------------------
SHOW_DEINSTALL_CONFIRMATION=false
#-----------------------------------------------------------------------------
# Name : SHOW_DEINSTALL_PROGRESS
# Datatype : Boolean
# Description : Set to true if deinstall progress is needed during
# : a deinstall session.
# Valid values : true, false
# Default value : true
# Mandatory : No
#-----------------------------------------------------------------------------
SHOW_DEINSTALL_PROGRESS=false
#-----------------------------------------------------------------------------
# Name : LOCATION_FOR_DISK<disk number>
# Datatype : String
# Description : Set to the full path of the root of the subsequent CDs in
# the Oracle9i set. This may be a mounted CD-ROM location or
# a location on the hard drive if you have copied the
# CD images to the hard disk.
# Valid values : full path to the root of the CD corresponding to the disk
# number indicated.
# Default value : None
# Mandatory : Yes
#-----------------------------------------------------------------------------
LOCATION_FOR_DISK2="%SystemDrive%\installs\Oracle\Oracle9i\9.2.0.1"
LOCATION_FOR_DISK3="%SystemDrive%\installs\Oracle\Oracle9i\9.2.0.1"
#-----------------------------------------------------------------------------
# End of GENERAL SESSION section
#-----------------------------------------------------------------------------
#
# Oracle9i Client
#
[oracle.client_9.2.0.1.0]
#-----------------------------------------------------------------------------
# Name : COMPONENT_LANGUAGES
# Datatype : StringList
#-----------------------------------------------------------------------------
COMPONENT_LANGUAGES={"en"}
#-----------------------------------------------------------------------------
# Name : INSTALL_TYPE
# Datatype : String
# Description : Type of installation for the Oracle9i Client
# Note : DO NOT CHANGE THE DEFAULT VALUE.
# To install using a different install type, use one of the
# other response file templates
# Mandatory : Yes
# Example : INSTALL_TYPE = "Custom"
#-----------------------------------------------------------------------------
INSTALL_TYPE="Custom"
#-----------------------------------------------------------------------------
# Name : DEPENDENCY_LIST (oracle.client)
# Datatype : StringList
# Description : List of optional products to be installed along with
# this one. The following choices are available. The
# value can contain any combination of these choices.
# Note : The products listed are optional dependencies. Any
# required dependencies will automatically be installed.
# Valid values :
# oracle.emcltprod, 9.2.0.1.0 : Oracle Enterprise Manager Products 9.2.0.1.0
# oracle.networking.netcltprod, 9.2.0.1.0 : Oracle Network Utilities 9.2.0.1.0
# oracle.utilities.util, 9.2.0.1.0 : Oracle Database Utilities 9.2.0.1.0 Added
# oracle.java, 9.2.0.1.0 : Oracle Java Utilities 9.2.0.1.0 Added
# oracle.rdbms.sqlplus, 9.2.0.1.0 : SQL*Plus 9.2.0.1.0 Added
# oracle.apache.isqlplus.ise, 9.2.0.1.0 : iSQL*Plus Extension for Windows 9.2.0.1.0
# oracle.java.jdbc, 9.2.0.1.0 : Oracle JDBC/OCI Interfaces 9.2.0.1.0 Added
# oracle.java.jdbc.thin, 9.2.0.1.0 : Oracle JDBC/THIN Interfaces 9.2.0.1.0 Added
# oracle.oid.client, 9.2.0.1.0 : Oracle Internet Directory Client 9.2.0.1.0 Added
# oracle.winprod, 9.2.0.1.0 : Oracle Windows Interfaces 9.2.0.1.0 Added
# oracle.rdbms.ocitop, 9.2.0.1.0 : Oracle Call Interfaces 9.2.0.1.0 Added
# oracle.p2k, 9.2.0.1.0 : Oracle Programmer 9.2.0.1.0
# oracle.p2k.xmldevkit, 9.2.0.1.0 : Oracle XML Developer's Kit 9.2.0.1.0
# oracle.doc.windoc, 9.2.0.1.0 : Oracle9i Windows Documentation 9.2.0.1.0
# oracle.swd.oui, 2.0.0.8.0 : Oracle Universal Installer 2.2.0.8.0 Added
# oracle.options.ano, 9.2.0.1.0 : Oracle Advanced Security 9.2.0.1.0
# oracle.java.sqlj.sqljruntime, 9.2.0.1.0 : SQLJ Runtime 9.2.0.1.0 Added
# oracle.options.intermedia.imclient, 9.2.0.1.0 : Oracle interMedia Client Option 9.2.0.1.0
# oracle.options.olap.api, 9.2.0.1.0 : Oracle OLAP API 9.2.0.1.0 Added
#Example : DEPENDENCY_LIST = {"oracle.emcltprod","9.2.0.1.0"}
#-----------------------------------------------------------------------------
DEPENDENCY_LIST={"oracle.utilities.util","9.2.0.1.0", "oracle.java","9.2.0.1.0", "oracle.rdbms.sqlplus","9.2.0.1.0", "oracle.java.jdbc","9.2.0.1.0", "oracle.java.jdbc.thin","9.2.0.1.0", "oracle.oid.client","9.2.0.1.0" ,"oracle.winprod","9.2.0.1.0", "oracle.rdbms.ocitop","9.2.0.1.0", "oracle.swd.oui","9.2.0.1.0", "oracle.java.sqlj.sqljruntime","9.2.0.1.0", "oracle.options.olap.api","9.2.0.1.0"}
#
# Oracle Enterprise Manager Products
#
[oracle.emcltprod_9.2.0.1.0]
#-----------------------------------------------------------------------------
# Name : DEPENDENCY_LIST (oracle.emcltprod)
# Datatype : StringList
# Description : List of optional products to be installed along with
# this one. The following choices are available. The
# value can contain any combination of these choices.
# Note : The products listed are optional dependencies. Any
# required dependencies will automatically be installed.
# Valid values :
# oracle.sysman.client, 9.2.0.1.0 : Oracle Enterprise Manager Client 9.2.0.1.0
# oracle.sysman.pack.change, 9.2.0.1.0 : Oracle Change Management Pack 9.2.0.1.0
# oracle.sysman.pack.diag, 9.2.0.1.0 : Oracle Diagnostics Pack 9.2.0.1.0
# oracle.sysman.pack.tuning, 9.2.0.1.0 : Oracle Tuning Pack 9.2.0.1.0
# oracle.sysman.pack.apps, 9.2.0.1.0 : Oracle Management Pack for Oracle Applications 9.2.0.1.0
# oracle.sysman.pack.std, 9.2.0.1.0 : Management Pack for Oracle Standard Edition 9.2.0.1.0
#-----------------------------------------------------------------------------
DEPENDENCY_LIST={ }
# Oracle Net Configuration Assistant
[oracle.networking.netca_9.2.0.1.0]
#-----------------------------------------------------------------------------
# Name : OPTIONAL_CONFIG_TOOLS
# Description : Specifying "netca" will launch the Oracle Net Configuration
#-----------------------------------------------------------------------------
OPTIONAL_CONFIG_TOOLS={}
#-----------------------------------------------------------------------------
# Name : s_responseFileName
# Description : This string contains the value of the -responseFile
# argument for launching the Oracle Net Configuration
# Assistant in silent mode. Use the "netca.rsp" response
# file template from the CD to customize silent database
# creation. Set the value of this variable to your
# customized NetCA response file location.
# Valid values : The full path to a customized NetCA response file based on
# the netca.rsp template.
# Example value : "c:\temp\response\netca.rsp"
# Default value : None
# Mandatory : Yes, for installs with the "-silent" flag
#-----------------------------------------------------------------------------
s_responseFileName=<Value Unspecified>
|
|
|
|
Re: silent install of Oracle Client 9 [message #303132 is a reply to message #303081] |
Thu, 28 February 2008 01:43 |
Tezro
Messages: 2 Registered: November 2005
|
Junior Member |
|
|
ebrian wrote on Thu, 28 February 2008 05:15 | This post is over 2 years old. The OP is probably on 11g now.
|
11g? I wish. We only abandoned 8i last year but are still heavily stuck to 9.2.
The only thing changed from 2 yars back is that I am no longer a Servicedesk employee but a Sys Admin now...
@bensoules: I already knew all those problems with 9.2.0.1, the version we run, 2 years ago.
Atm I use a Altiris job to mount the share on a drive letter and use the runtime installation. After that I have to manually install the Windows Interfaces module (ODBC driver).
I tried recording the two together, but it wouldn't work ofcourse.
After a few weeks of trying I gave up. The java crap installer is hopeless. So is Oracle for having no clue how their own installers works.
whoops, just saw I ain't the OP here. My bad...[/edit]
[Updated on: Thu, 28 February 2008 01:45] Report message to a moderator
|
|
|
Re: silent install of Oracle Client 9 [message #411641 is a reply to message #137795] |
Mon, 06 July 2009 03:20 |
trevori
Messages: 1 Registered: July 2009
|
Junior Member |
|
|
I am trying to set up a response file for a silent install of the Oracle 9i Client (9.2.0.1). The Runtime or Admin options work fine but the Custom option installs only the basic Client and none of the specified dependent products.
I have tried changing file paths etc. but nothing seems to help ?
Is there a problem with the 9.2.0.1 oui version which might cause this ? Are there patches or a later version of the installer available which I could use ?
I would be grateful if anyone can help as I am rapidly running out of ideas ?
|
|
|
Goto Forum:
Current Time: Fri Nov 22 04:39:11 CST 2024
|