Menu

OracleClient9i

Juan Jose Pablos

Last modified 5 years ago Last modified on 03/01/10 02:35:26

Install Oracle 9.02 unattended

I use the method on ​http://www.willowhayes.co.uk/windows2000/

oracle.bat

:: OPTIONAL: Install Oracle client 9.2

todo.pl "%Z%\dosbin\wait.exe  %Z%\packages\oracle\9201\install\win32\setup.exe -responseFile %Z%\packages\oracle\client92admin.rsp -silent"

wait.exe

can be downloaded from ​http://www.willowhayes.co.uk/download/wait.exe

client92admin.rsp

It is a modified Version of the file which comes with the Oracle Client

####################################################################

##                                                                ##

##  Oracle9i Client Administrator 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 greoup 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="z:\packages\oracle\client92\stage\products.jar"

FROM_LOCATION=z:\packages\oracle\9201\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="F:\Oracle\OraHome92"

#-----------------------------------------------------------------------------

# 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   :

# Mandatory     : No

#-----------------------------------------------------------------------------

DEINSTALL_LIST={"oracle.server","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=false

#-----------------------------------------------------------------------------

# 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 : false

# Mandatory     : No

#-----------------------------------------------------------------------------

SHOW_DEINSTALL_CONFIRMATION=false

#-----------------------------------------------------------------------------

# Name          : SHOW_DEINSTALL_PROGRESS

# Description   : Set to true if deinstall progress is needed

#                 during a deinstall session

# Valid values  : true, false

# Default value : false

# Mandatory     : No

#------------------------------------------------------------------------------

SHOW_DEINSTALL_PROGRESS=true

#-----------------------------------------------------------------------------

# 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=<Value Required>

LOCATION_FOR_DISK3=<Value Required>

#-----------------------------------------------------------------------------

# End of GENERAL SESSION section

#-----------------------------------------------------------------------------

#

# Oracle9i Client

#

[oracle.client_9.2.0.1.0]

#-----------------------------------------------------------------------------

# 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 = "Administrator"

#-----------------------------------------------------------------------------

INSTALL_TYPE="Administrator"

#

# Oracle Net Configuration Assistant

#

[oracle.networking.netca_9.2.0.1.0]

#-----------------------------------------------------------------------------

# Name          : OPTIONAL_CONFIG_TOOLS

# Datatype      : StringList

# Description   : Specifying "netca" will launch the Oracle Net Configuration

#                 Assistant configuration tool.

# Valid values  : {"netca"} or {}

# Example value : {"netca"}

# Default value : {"netca"}

# Mandatory     : No

#-----------------------------------------------------------------------------

OPTIONAL_CONFIG_TOOLS={}

#-----------------------------------------------------------------------------

# Name          : s_responseFileName

# Datatype      : String

# 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\netca.rsp"

# Default value : It will default to ORACLE_HOME\network\install\netca_clt.rsp

#                 if nothing is specified.  Please make sure the file is

#                 modified as you require if you do not plan to specify a value.

# Mandatory     : No

#-----------------------------------------------------------------------------

s_responseFileName=<Value Unspecified>

#-----------------------------------------------------------------------------

# Name          : b_launchNETCA

# Datatype      : Boolean

# Description   : This Boolean determines whether to launch the NetCA after

#                 installation.  To install Oracle Net Services without

#                 launching the NetCA at the end of the install, set this

#                 Boolean to false

# Valid values  : true or false

# Example value : true

# Default value : true

# Mandatory     : No

#-----------------------------------------------------------------------------

b_launchNETCA=false

Related

Wiki: Scripts