摘要:提供一个Oracle901Client安装的ResponseFile
由于配置中带有版本号,所以每个应答文件只能支持相应版本的安装介质
主要是由于有版本不同将导致组件选取方面的错乱
使用该安装应答文件,掉过前面的窗口后直接显示组建定制窗口,以便再次确认的调整要安装的组件
安装中忽略安装进度界面,安装完成结束时只运行必要的配置
将以下内容存为responseFile,扩展名为.rps后即可用于安装Oracle Client,安装的组件有
oracle.client 9.0.1.0.0
├1-Oracle Programmer 9.0.1.0.0
│ ├Oracle Call Interface (OCI) 9.0.1.0.0
│ ├Object Type Translator 9.0.1.0.0
│ └Pro*C/C++ 9.0.1.0.0
├2-Oracle Enterprise Manager Products 9.0.1.0.0
│ └Oracle Enterprise Manager Client 9.0.1.0.0
├3-Oracle Net Services 9.0.1.0.0
│ └Oracle Net Protocol Support 9.0.1.0.0
└4-Oracle Universal Installer 2.0.1.4.0
但其中的ORACLE_HOME和FROM_LOCATION、LOCATION_FOR_DISK2、LOCATION_FOR_DISK3、LOCATION_FOR_DISK4一定要设置为正确的路径。
#══════════════════════════════════════════════════════════════════════════#
# 应答文件开始
#══════════════════════════════════════════════════════════════════════════#
[General]
RESPONSEFILE_VERSION=1.7.0
[SESSION]
#Parameter: UNIX_GROUP_NAME
#Type: String
#Description: Unix group to be set for the inventory directory. Valid only in Unix platforms.
#Example : UNIX_GROUP_NAME = "install"
UNIX_GROUP_NAME=<Value Unspecified>
#Parameter: FROM_LOCATION
#Type: String
#Description: Complete path of the products.jar.
#Example : FROM_LOCATION = "../stage/products.jar"
FROM_LOCATION="/orainst/9201/Disk1/stage/products.jar"
#Parameter: FROM_LOCATION_CD_LABEL
#Type: 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.
#Example : FROM_LOCATION_CD_LABEL = "CD Label"
FROM_LOCATION_CD_LABEL="Oracle920"
#Parameter: NEXT_SESSION_RESPONSE
#Type: String
#Description: Optionally specifies the full path of next sessions 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.
#Example : NEXT_SESSION_RESPONSE = "nextinstall.rsp"
NEXT_SESSION_RESPONSE=<Value Unspecified>
#其他安装盘路径名
#Parameter: LOCATION_FOR_DISK2、LOCATION_FOR_DISK3、LOCATION_FOR_DISK4
#Type: String
#Description: Complete path to the other disks.
#Example : LOCATION_FOR_DISK2 = "../../Disk2"
LOCATION_FOR_DISK2="/orainst/9201/Disk2"
LOCATION_FOR_DISK3="/orainst/9201/Disk3"
LOCATION_FOR_DISK4="/orainst/9201/Disk4"
#Parameter: ORACLE_HOME
#Type: String
#Description: Complete Location of the Oracle Home.
#Example : ORACLE_HOME = "C:\Oracles"
ORACLE_HOME="/oracle/product/9.0.1"
#Parameter: ORACLE_HOME_NAME
#Type: String
#Description: Oracle Home Name. Used in creating folders, services.
#Example : ORACLE_HOME_NAME = "0RACLE_HOME"
ORACLE_HOME_NAME="0RACLE_HOME"
#Parameter: TOPLEVEL_COMPONENT
#Type: StringList
#Description: The Toplevel component that has to be installed in the current session.
#The following choices are available. The value should contain only one of these choices.
#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
# oracle.server, 9.2.0.1.0 : Oracle9i Database 9.2.0.1.0
# oracle.client, 9.2.0.1.0 : Oracle9i Client 9.2.0.1.0
# oracle.infrastructure, 9.2.0.1.0 : Oracle9i Management and Integration 9.2.0.1.0
#Example : TOPLEVEL_COMPONENT = {"oracle.server","9.2.0.1.0"}
TOPLEVEL_COMPONENT={"oracle.client","9.2.0.1.0"}
#Parameter: DEINSTALL_LIST
#Type: StringList
#Description: List of components to be deinstalled during a deinstall session.
#The following choices are available. The value should contain only one of these choices.
#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
# oracle.server, 9.2.0.1.0 : Oracle9i Database 9.2.0.1.0
# oracle.client, 9.2.0.1.0 : Oracle9i Client 9.2.0.1.0
# oracle.infrastructure, 9.2.0.1.0 : Oracle9i Management and Integration 9.2.0.1.0
#Example : DEINSTALL_LIST = {"oracle.server","9.2.0.1.0"}
DEINSTALL_LIST={"oracle.client","9.2.0.1.0"}
#Parameter: SHOW_SPLASH_SCREEN
#Type: Boolean
#Description: Set to true if the initial splash screen in the installer needs to be shown.
#Example : SHOW_SPLASH_SCREEN = true
SHOW_SPLASH_SCREEN=false
#Parameter: SHOW_WELCOME_PAGE
#Type: Boolean
#Description: Set to true if the Welcome page in the installer needs to be shown.
#Example : SHOW_WELCOME_PAGE = false
SHOW_WELCOME_PAGE=false
#Parameter: SHOW_COMPONENT_LOCATIONS_PAGE
#Type: Boolean
#Description: Set to true if the component locations page in the installer needs to be shown.
#This page only appears if there are products whose installed directory can be changed.
#If you set this to false you will prevent the user from being able to specify alternate directories.
#Example : SHOW_COMPONENT_LOCATIONS_PAGE = false
SHOW_COMPONENT_LOCATIONS_PAGE=false
#Parameter: SHOW_CUSTOM_TREE_PAGE
#Type: Boolean
#Description: Set to true if the custom tree page in the installer needs to be shown.
#In this page dependencies can be selected or unselected. This page appears only in a custom install type.
#Example : SHOW_CUSTOM_TREE_PAGE = false
SHOW_CUSTOM_TREE_PAGE=true
#Parameter: SHOW_SUMMARY_PAGE
#Type: Boolean
#Description: Set to true if the summary page in the installer needs to be shown.
#The summary page shows the list of components that will be installed in this session.
#Example : SHOW_SUMMARY_PAGE = true
SHOW_SUMMARY_PAGE=true
#Parameter: SHOW_INSTALL_PROGRESS_PAGE
#Type: Boolean
#Description: Set to true if the install progress page in the installer needs to be shown.
#This page shows the current status in the installation. The current status includes which product is being installed, which file is being copied.
#Example : SHOW_INSTALL_PROGRESS_PAGE = true
SHOW_INSTALL_PROGRESS_PAGE=false
#Parameter: SHOW_REQUIRED_CONFIG_TOOL_PAGE
#Type: Boolean
#Description: Set to true if the required config tools page in the installer needs to be shown.
#This page shows the list of required configuration tools that are part of this installation.
#It shows the status of each tool, including any failures with detailed information on why the tool has failed.
#Example : SHOW_REQUIRED_CONFIG_TOOL_PAGE = true
SHOW_REQUIRED_CONFIG_TOOL_PAGE=true
#Parameter: SHOW_OPTIONAL_CONFIG_TOOL_PAGE
#Type: Boolean
#Description: Set to true if the optional config tools page in the installer needs to be shown.
#This page shows the list of optional configuration tools that are part of this installation and are configured to launch automatically.
#It shows the status of each tool, including any failures with detailed information on why the tool has failed.
#Example : SHOW_OPTIONAL_CONFIG_TOOL_PAGE = true
SHOW_OPTIONAL_CONFIG_TOOL_PAGE=false
#Parameter: SHOW_RELEASE_NOTES
#Type: Boolean
#Description: Set to true if the release notes of this installation need to be shown at the end of installation.
#This dialog is launchable from the End of Installation page and shows the list of release notes available for the products just installed.
# This also requires the variable SHOW_END_SESSION_PAGE variable to be set to true.
#Example : SHOW_RELEASE_NOTES = true
SHOW_RELEASE_NOTES=false
#Parameter: SHOW_ROOTSH_CONFIRMATION
#Type: Boolean
#Description: Set to true if the Confirmation dialog asking to run the root.sh script in the installer needs to be shown.
#Valid only in Unix platforms.
#Example : SHOW_ROOTSH_CONFIRMATION = true
SHOW_ROOTSH_CONFIRMATION=true
#Parameter: SHOW_END_SESSION_PAGE
#Type: Boolean
#Description: Set to true if the end of session page in the installer needs to be shown.
#This page shows if the installation is successful or not.
#Example : SHOW_END_SESSION_PAGE = true
SHOW_END_SESSION_PAGE=true
#Parameter: SHOW_EXIT_CONFIRMATION
#Type: Boolean
#Description: Set to true if the confirmation when exiting the installer needs to be shown.
#Example : SHOW_EXIT_CONFIRMATION = true
SHOW_EXIT_CONFIRMATION=false
#Parameter: NEXT_SESSION
#Type: Boolean
#Description: Set to true to allow users to go back to the File Locations page for another installation. This flag also needs to be set to true in order to process another response file (see NEXT_SESSION_RESPONSE).
#Example : NEXT_SESSION = true
NEXT_SESSION=false
#Parameter: NEXT_SESSION_ON_FAIL
#Type: Boolean
#Description: Set to true to allow users to invoke another session even if current install session has failed. This flag is only relevant if NEXT_SESSION is set to true.
#Example : NEXT_SESSION_ON_FAIL = true
NEXT_SESSION_ON_FAIL=true
#Parameter: SHOW_DEINSTALL_CONFIRMATION
#Type: Boolean
#Description: Set to true if deinstall confimation is needed during a deinstall session.
#Example : SHOW_DEINSTALL_CONFIRMATION = true
SHOW_DEINSTALL_CONFIRMATION=true
#Parameter: SHOW_DEINSTALL_PROGRESS
#Type: Boolean
#Description: Set to true if deinstall progress is needed during a deinstall session.
#Example : SHOW_DEINSTALL_PROGRESS = true
SHOW_DEINSTALL_PROGRESS=false
[oracle.client_9.2.0.1.0]
#Parameter: COMPONENT_LANGUAGES
#Type: StringList
#Description: Languages in which the components will be installed.
#The following choices are available. The value should contain only one of these choices.
#The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.
# en, : English
# fr, : French
# ar, : Arabic
# bn, : Bengali
# pt_BR, : Brazilian Portuguese
# bg, : Bulgarian
# fr_CA, : Canadian French
# ca, : Catalan
# hr, : Croatian
# cs, : Czech
# da, : Danish
# nl, : Dutch
# ar_EG, : Egyptian
# en_GB, : English (United Kingdom)
# et, : Estonian
# fi, : Finnish
# de, : German
# el, : Greek
# iw, : Hebrew
# hu, : Hungarian
# is, : Icelandic
# in, : Indonesian
# it, : Italian
# ja, : Japanese
# ko, : Korean
# es, : Latin American Spanish
# lv, : Latvian
# lt, : Lithuanian
# ms, : Malay
# es_MX, : Mexican Spanish
# no, : Norwegian
# pl, : Polish
# pt, : Portuguese
# ro, : Romanian
# ru, : Russian
# zh_CN, : Simplified Chinese
# sk, : Slovak
# sl, : Slovenian
# es_ES, : Spanish
# sv, : Swedish
# th, : Thai
# zh_TW, : Traditional Chinese
# tr, : Turkish
# uk, : Ukrainian
# vi, : Vietnamese
#Example : COMPONENT_LANGUAGES = {"en"}
COMPONENT_LANGUAGES={"en","zh_CN"}
#Parameter: INSTALL_TYPE
#Type: String
#Description: Installation type of the component.
#The following choices are available. The value should contain only one of these choices.
#The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.
# Administrator, : Administrator
# Runtime, : Runtime
# Custom, : Custom
#Example : INSTALL_TYPE = "Administrator"
INSTALL_TYPE="Custom"
#Parameter: DEPENDENCY_LIST
#Type: StringList
#Description: List of Dependees that needs to be installed along with this product.
#The following choices are available. The value can contain any combination of these choices.
#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
# 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
# oracle.rdbms.sqlplus, 9.2.0.1.0 : SQL*Plus 9.2.0.1.0
# oracle.java.jdbc, 9.2.0.1.0 : Oracle JDBC/OCI Interfaces 9.2.0.1.0
# oracle.oid.client, 9.2.0.1.0 : Oracle Internet Directory Client 9.2.0.1.0
# oracle.p2k, 9.2.0.1.0 : Oracle Programmer 9.2.0.1.0
# oracle.p2k.xmldevkit, 9.2.0.1.0 : Oracle XML Developers Kit 9.2.0.1.0
# oracle.doc.unixdoc, 9.2.0.1.0 : Oracle9i for UNIX Documentation 9.2.0.1.0
# oracle.swd.oui, 2.0.0.8.0 : Oracle Universal Installer 2.2.0.12.0
# 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
# 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
#Example : DEPENDENCY_LIST = {"oracle.emcltprod","9.2.0.1.0"}
#DEPENDENCY_LIST=<Value Unspecified>
DEPENDENCY_LIST=={"oracle.utilities.util","9.2.0.1.0","oracle.rdbms.sqlplus","9.2.0.1.0","oracle.p2k","9.2.0.1.0"}
#Parameter: s_bundleName
#Type: String
s_bundleName=<Value Unspecified>
#Parameter: s_OPSSelectedNodes
#Type: String
s_OPSSelectedNodes=<Value Unspecified>
[oracle.emcltprod_9.2.0.1.0]
#Parameter: DEPENDENCY_LIST
#Type: StringList
#Description: List of Dependees that needs to be installed along with this product.
#The following choices are available. The value can contain any combination of these choices.
#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
# oracle.sysman.client, 9.2.0.1.0 : 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 : Oracle Management Pack for Oracle Standard Edition 9.2.0.1.0
#Example : DEPENDENCY_LIST = {"oracle.sysman.client","9.2.0.1.0"}
DEPENDENCY_LIST=<Value Unspecified>
[oracle.options.ano_9.2.0.1.0]
#Parameter: s_bundleName
#Type: String
s_bundleName=<Value Unspecified>
#Parameter: s_OPSSelectedNodes
#Type: String
s_OPSSelectedNodes=<Value Unspecified>
[oracle.utilities.util_9.2.0.1.0]
#Parameter: s_OPSSelectedNodes
#Type: String
s_OPSSelectedNodes=<Value Unspecified>
#Parameter: b_rdbmsInstalling
#Type: Boolean
b_rdbmsInstalling=<Value Unspecified>
[oracle.install.instcommon_9.2.0.1.0]
#Parameter: s_OPSSelectedNodes
#Type: String
s_OPSSelectedNodes=<Value Unspecified>
[oracle.doc.unixdoc_9.2.0.1.0]
#Parameter: s_OPSSelectedNodes
#Type: String
s_OPSSelectedNodes=<Value Unspecified>
[oracle.swd.oui_2.2.0.12.0]
#Parameter: PROD_HOME
#Type: String
#Description: Complete path where the product needs to be installed.
#Example : PROD_HOME = "C:\ProductName"
PROD_HOME=<Value Unspecified>
#Parameter: InstLocProp
#Type: String
InstLocProp=<Value Unspecified>
[oracle.swd.jre_1.1.8.3.0]
#Parameter: PROD_HOME
#Type: String
#Description: Complete path where the product needs to be installed.
#Example : PROD_HOME = "C:\ProductName"
PROD_HOME=<Value Unspecified>
#Parameter: s_OPSSelectedNodes
#Type: String
#Description: This variable recives the OPS selected nodes value.
s_OPSSelectedNodes=<Value Unspecified>