由于配置中带有版本号,所以每个应答文件只能支持相应版本的安装介质
主要是由于有版本不同将导致组件选取方面的错乱
使用该安装应答文件,掉过前面的窗口后直接显示组建定制窗口,以便再次确认的调整要安装的组件
安装中忽略安装进度界面,安装完成结束时只运行必要的配置
将以下内容存为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=
1<value unspecified="">
2
3#Parameter: FROM_LOCATION
4#Type: String
5#Description: Complete path of the products.jar.
6#Example : FROM_LOCATION = "../stage/products.jar"
7FROM_LOCATION="/orainst/9201/Disk1/stage/products.jar"
8
9#Parameter: FROM_LOCATION_CD_LABEL
10#Type: String
11#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.
12#Example : FROM_LOCATION_CD_LABEL = "CD Label"
13FROM_LOCATION_CD_LABEL="Oracle920"
14
15#Parameter: NEXT_SESSION_RESPONSE
16#Type: String
17#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.
18#Example : NEXT_SESSION_RESPONSE = "nextinstall.rsp"
19NEXT_SESSION_RESPONSE=<value unspecified="">
20
21#其他安装盘路径名
22#Parameter: LOCATION_FOR_DISK2、LOCATION_FOR_DISK3、LOCATION_FOR_DISK4
23#Type: String
24#Description: Complete path to the other disks.
25#Example : LOCATION_FOR_DISK2 = "../../Disk2"
26LOCATION_FOR_DISK2="/orainst/9201/Disk2"
27LOCATION_FOR_DISK3="/orainst/9201/Disk3"
28LOCATION_FOR_DISK4="/orainst/9201/Disk4"
29
30#Parameter: ORACLE_HOME
31#Type: String
32#Description: Complete Location of the Oracle Home.
33#Example : ORACLE_HOME = "C:\Oracles"
34ORACLE_HOME="/oracle/product/9.0.1"
35
36#Parameter: ORACLE_HOME_NAME
37#Type: String
38#Description: Oracle Home Name. Used in creating folders, services.
39#Example : ORACLE_HOME_NAME = "0RACLE_HOME"
40ORACLE_HOME_NAME="0RACLE_HOME"
41
42#Parameter: TOPLEVEL_COMPONENT
43#Type: StringList
44#Description: The Toplevel component that has to be installed in the current session.
45#The following choices are available. The value should contain only one of these choices.
46#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
47# oracle.server, 9.2.0.1.0 : Oracle9i Database 9.2.0.1.0
48# oracle.client, 9.2.0.1.0 : Oracle9i Client 9.2.0.1.0
49# oracle.infrastructure, 9.2.0.1.0 : Oracle9i Management and Integration 9.2.0.1.0
50#Example : TOPLEVEL_COMPONENT = {"oracle.server","9.2.0.1.0"}
51TOPLEVEL_COMPONENT={"oracle.client","9.2.0.1.0"}
52
53#Parameter: DEINSTALL_LIST
54#Type: StringList
55#Description: List of components to be deinstalled during a deinstall session.
56#The following choices are available. The value should contain only one of these choices.
57#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
58# oracle.server, 9.2.0.1.0 : Oracle9i Database 9.2.0.1.0
59# oracle.client, 9.2.0.1.0 : Oracle9i Client 9.2.0.1.0
60# oracle.infrastructure, 9.2.0.1.0 : Oracle9i Management and Integration 9.2.0.1.0
61#Example : DEINSTALL_LIST = {"oracle.server","9.2.0.1.0"}
62DEINSTALL_LIST={"oracle.client","9.2.0.1.0"}
63
64#Parameter: SHOW_SPLASH_SCREEN
65#Type: Boolean
66#Description: Set to true if the initial splash screen in the installer needs to be shown.
67#Example : SHOW_SPLASH_SCREEN = true
68SHOW_SPLASH_SCREEN=false
69
70#Parameter: SHOW_WELCOME_PAGE
71#Type: Boolean
72#Description: Set to true if the Welcome page in the installer needs to be shown.
73#Example : SHOW_WELCOME_PAGE = false
74SHOW_WELCOME_PAGE=false
75
76#Parameter: SHOW_COMPONENT_LOCATIONS_PAGE
77#Type: Boolean
78#Description: Set to true if the component locations page in the installer needs to be shown.
79#This page only appears if there are products whose installed directory can be changed.
80#If you set this to false you will prevent the user from being able to specify alternate directories.
81#Example : SHOW_COMPONENT_LOCATIONS_PAGE = false
82SHOW_COMPONENT_LOCATIONS_PAGE=false
83
84#Parameter: SHOW_CUSTOM_TREE_PAGE
85#Type: Boolean
86#Description: Set to true if the custom tree page in the installer needs to be shown.
87#In this page dependencies can be selected or unselected. This page appears only in a custom install type.
88#Example : SHOW_CUSTOM_TREE_PAGE = false
89SHOW_CUSTOM_TREE_PAGE=true
90
91#Parameter: SHOW_SUMMARY_PAGE
92#Type: Boolean
93#Description: Set to true if the summary page in the installer needs to be shown.
94#The summary page shows the list of components that will be installed in this session.
95#Example : SHOW_SUMMARY_PAGE = true
96SHOW_SUMMARY_PAGE=true
97
98#Parameter: SHOW_INSTALL_PROGRESS_PAGE
99#Type: Boolean
100#Description: Set to true if the install progress page in the installer needs to be shown.
101#This page shows the current status in the installation. The current status includes which product is being installed, which file is being copied.
102#Example : SHOW_INSTALL_PROGRESS_PAGE = true
103SHOW_INSTALL_PROGRESS_PAGE=false
104
105#Parameter: SHOW_REQUIRED_CONFIG_TOOL_PAGE
106#Type: Boolean
107#Description: Set to true if the required config tools page in the installer needs to be shown.
108#This page shows the list of required configuration tools that are part of this installation.
109#It shows the status of each tool, including any failures with detailed information on why the tool has failed.
110#Example : SHOW_REQUIRED_CONFIG_TOOL_PAGE = true
111SHOW_REQUIRED_CONFIG_TOOL_PAGE=true
112
113#Parameter: SHOW_OPTIONAL_CONFIG_TOOL_PAGE
114#Type: Boolean
115#Description: Set to true if the optional config tools page in the installer needs to be shown.
116#This page shows the list of optional configuration tools that are part of this installation and are configured to launch automatically.
117#It shows the status of each tool, including any failures with detailed information on why the tool has failed.
118#Example : SHOW_OPTIONAL_CONFIG_TOOL_PAGE = true
119SHOW_OPTIONAL_CONFIG_TOOL_PAGE=false
120
121#Parameter: SHOW_RELEASE_NOTES
122#Type: Boolean
123#Description: Set to true if the release notes of this installation need to be shown at the end of installation.
124#This dialog is launchable from the End of Installation page and shows the list of release notes available for the products just installed.
125# This also requires the variable SHOW_END_SESSION_PAGE variable to be set to true.
126#Example : SHOW_RELEASE_NOTES = true
127SHOW_RELEASE_NOTES=false
128
129#Parameter: SHOW_ROOTSH_CONFIRMATION
130#Type: Boolean
131#Description: Set to true if the Confirmation dialog asking to run the root.sh script in the installer needs to be shown.
132#Valid only in Unix platforms.
133#Example : SHOW_ROOTSH_CONFIRMATION = true
134SHOW_ROOTSH_CONFIRMATION=true
135
136#Parameter: SHOW_END_SESSION_PAGE
137#Type: Boolean
138#Description: Set to true if the end of session page in the installer needs to be shown.
139#This page shows if the installation is successful or not.
140#Example : SHOW_END_SESSION_PAGE = true
141SHOW_END_SESSION_PAGE=true
142
143#Parameter: SHOW_EXIT_CONFIRMATION
144#Type: Boolean
145#Description: Set to true if the confirmation when exiting the installer needs to be shown.
146#Example : SHOW_EXIT_CONFIRMATION = true
147SHOW_EXIT_CONFIRMATION=false
148
149#Parameter: NEXT_SESSION
150#Type: Boolean
151#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).
152#Example : NEXT_SESSION = true
153NEXT_SESSION=false
154
155#Parameter: NEXT_SESSION_ON_FAIL
156#Type: Boolean
157#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.
158#Example : NEXT_SESSION_ON_FAIL = true
159NEXT_SESSION_ON_FAIL=true
160
161#Parameter: SHOW_DEINSTALL_CONFIRMATION
162#Type: Boolean
163#Description: Set to true if deinstall confimation is needed during a deinstall session.
164#Example : SHOW_DEINSTALL_CONFIRMATION = true
165SHOW_DEINSTALL_CONFIRMATION=true
166
167#Parameter: SHOW_DEINSTALL_PROGRESS
168#Type: Boolean
169#Description: Set to true if deinstall progress is needed during a deinstall session.
170#Example : SHOW_DEINSTALL_PROGRESS = true
171SHOW_DEINSTALL_PROGRESS=false
172
173
174[oracle.client_9.2.0.1.0]
175#Parameter: COMPONENT_LANGUAGES
176#Type: StringList
177#Description: Languages in which the components will be installed.
178#The following choices are available. The value should contain only one of these choices.
179#The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.
180# en, : English
181# fr, : French
182# ar, : Arabic
183# bn, : Bengali
184# pt_BR, : Brazilian Portuguese
185# bg, : Bulgarian
186# fr_CA, : Canadian French
187# ca, : Catalan
188# hr, : Croatian
189# cs, : Czech
190# da, : Danish
191# nl, : Dutch
192# ar_EG, : Egyptian
193# en_GB, : English (United Kingdom)
194# et, : Estonian
195# fi, : Finnish
196# de, : German
197# el, : Greek
198# iw, : Hebrew
199# hu, : Hungarian
200# is, : Icelandic
201# in, : Indonesian
202# it, : Italian
203# ja, : Japanese
204# ko, : Korean
205# es, : Latin American Spanish
206# lv, : Latvian
207# lt, : Lithuanian
208# ms, : Malay
209# es_MX, : Mexican Spanish
210# no, : Norwegian
211# pl, : Polish
212# pt, : Portuguese
213# ro, : Romanian
214# ru, : Russian
215# zh_CN, : Simplified Chinese
216# sk, : Slovak
217# sl, : Slovenian
218# es_ES, : Spanish
219# sv, : Swedish
220# th, : Thai
221# zh_TW, : Traditional Chinese
222# tr, : Turkish
223# uk, : Ukrainian
224# vi, : Vietnamese
225#Example : COMPONENT_LANGUAGES = {"en"}
226COMPONENT_LANGUAGES={"en","zh_CN"}
227
228#Parameter: INSTALL_TYPE
229#Type: String
230#Description: Installation type of the component.
231#The following choices are available. The value should contain only one of these choices.
232#The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.
233# Administrator, : Administrator
234# Runtime, : Runtime
235# Custom, : Custom
236#Example : INSTALL_TYPE = "Administrator"
237INSTALL_TYPE="Custom"
238
239#Parameter: DEPENDENCY_LIST
240#Type: StringList
241#Description: List of Dependees that needs to be installed along with this product.
242#The following choices are available. The value can contain any combination of these choices.
243#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
244# oracle.emcltprod, 9.2.0.1.0 : Oracle Enterprise Manager Products 9.2.0.1.0
245# oracle.networking.netcltprod, 9.2.0.1.0 : Oracle Network Utilities 9.2.0.1.0
246# oracle.utilities.util, 9.2.0.1.0 : Oracle Database Utilities 9.2.0.1.0
247# oracle.rdbms.sqlplus, 9.2.0.1.0 : SQL*Plus 9.2.0.1.0
248# oracle.java.jdbc, 9.2.0.1.0 : Oracle JDBC/OCI Interfaces 9.2.0.1.0
249# oracle.oid.client, 9.2.0.1.0 : Oracle Internet Directory Client 9.2.0.1.0
250# oracle.p2k, 9.2.0.1.0 : Oracle Programmer 9.2.0.1.0
251# oracle.p2k.xmldevkit, 9.2.0.1.0 : Oracle XML Developer's Kit 9.2.0.1.0
252# oracle.doc.unixdoc, 9.2.0.1.0 : Oracle9i for UNIX Documentation 9.2.0.1.0
253# oracle.swd.oui, 2.0.0.8.0 : Oracle Universal Installer 2.2.0.12.0
254# oracle.options.ano, 9.2.0.1.0 : Oracle Advanced Security 9.2.0.1.0
255# oracle.java.sqlj.sqljruntime, 9.2.0.1.0 : SQLJ Runtime 9.2.0.1.0
256# oracle.options.intermedia.imclient, 9.2.0.1.0 : Oracle interMedia Client Option 9.2.0.1.0
257# oracle.options.olap.api, 9.2.0.1.0 : Oracle OLAP API 9.2.0.1.0
258#Example : DEPENDENCY_LIST = {"oracle.emcltprod","9.2.0.1.0"}
259#DEPENDENCY_LIST=<value unspecified="">
260DEPENDENCY_LIST=={"oracle.utilities.util","9.2.0.1.0","oracle.rdbms.sqlplus","9.2.0.1.0","oracle.p2k","9.2.0.1.0"}
261
262#Parameter: s_bundleName
263#Type: String
264s_bundleName=<value unspecified="">
265
266#Parameter: s_OPSSelectedNodes
267#Type: String
268s_OPSSelectedNodes=<value unspecified="">
269
270
271[oracle.emcltprod_9.2.0.1.0]
272#Parameter: DEPENDENCY_LIST
273#Type: StringList
274#Description: List of Dependees that needs to be installed along with this product.
275#The following choices are available. The value can contain any combination of these choices.
276#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
277# oracle.sysman.client, 9.2.0.1.0 : Enterprise Manager Client 9.2.0.1.0
278# oracle.sysman.pack.change, 9.2.0.1.0 : Oracle Change Management Pack 9.2.0.1.0
279# oracle.sysman.pack.diag, 9.2.0.1.0 : Oracle Diagnostics Pack 9.2.0.1.0
280# oracle.sysman.pack.tuning, 9.2.0.1.0 : Oracle Tuning Pack 9.2.0.1.0
281# oracle.sysman.pack.apps, 9.2.0.1.0 : Oracle Management Pack for Oracle Applications 9.2.0.1.0
282# oracle.sysman.pack.std, 9.2.0.1.0 : Oracle Management Pack for Oracle Standard Edition 9.2.0.1.0
283#Example : DEPENDENCY_LIST = {"oracle.sysman.client","9.2.0.1.0"}
284DEPENDENCY_LIST=<value unspecified="">
285
286
287[oracle.options.ano_9.2.0.1.0]
288#Parameter: s_bundleName
289#Type: String
290s_bundleName=<value unspecified="">
291
292#Parameter: s_OPSSelectedNodes
293#Type: String
294s_OPSSelectedNodes=<value unspecified="">
295
296
297[oracle.utilities.util_9.2.0.1.0]
298#Parameter: s_OPSSelectedNodes
299#Type: String
300s_OPSSelectedNodes=<value unspecified="">
301
302#Parameter: b_rdbmsInstalling
303#Type: Boolean
304b_rdbmsInstalling=<value unspecified="">
305
306
307[oracle.install.instcommon_9.2.0.1.0]
308#Parameter: s_OPSSelectedNodes
309#Type: String
310s_OPSSelectedNodes=<value unspecified="">
311
312
313[oracle.doc.unixdoc_9.2.0.1.0]
314#Parameter: s_OPSSelectedNodes
315#Type: String
316s_OPSSelectedNodes=<value unspecified="">
317
318
319[oracle.swd.oui_2.2.0.12.0]
320#Parameter: PROD_HOME
321#Type: String
322#Description: Complete path where the product needs to be installed.
323#Example : PROD_HOME = "C:\ProductName"
324PROD_HOME=<value unspecified="">
325
326#Parameter: InstLocProp
327#Type: String
328InstLocProp=<value unspecified="">
329
330
331[oracle.swd.jre_1.1.8.3.0]
332#Parameter: PROD_HOME
333#Type: String
334#Description: Complete path where the product needs to be installed.
335#Example : PROD_HOME = "C:\ProductName"
336PROD_HOME=<value unspecified="">
337
338#Parameter: s_OPSSelectedNodes
339#Type: String
340#Description: This variable recives the OPS selected nodes value.
341s_OPSSelectedNodes=<value unspecified=""></value></value></value></value></value></value></value></value></value></value></value></value></value></value></value></temp></value>