A Using Response Files for Noninteractive Installation
The following topics describe how to install and configure Oracle products using response files:
Introduction
Typically, Oracle Universal Installer runs in interactive mode, which means that it prompts you to provide information in graphical user interface (GUI) screens. Alternatively, you can run Oracle Universal Installer in noninteractive mode. Noninteractive mode is also referred to as silent mode, or silent installation.
You may want to use noninteractive mode to install Oracle Database Gateway on Microsoft Windows (64-bit) in the following scenarios:
-
You need to deploy Oracle Components to multiple nodes in an unattended manner. You can schedule the noninteractive installation mode from the operating system scheduler or other job subsystem that your site normally uses.
-
No interaction with the user is intended.
-
A graphical facility to run Oracle Universal Installer in interactive mode is not available. (Oracle Universal Installer is always available on Microsoft Windows, but not on UNIX systems.)
This section covers the following topics on how you can use response files to run Oracle Universal Installer in noninteractive mode:
Using Response Files to Install Oracle Components in Noninteractive Mode
To use noninteractive mode, you run Oracle Universal Installer with a response file. A response file is a text file that contains variables and values that Oracle Universal Installer uses during the installation process. Oracle provides a set of sample response files that you can customize, or you can create your own response file by recording your installation selections.
See Also:
Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for more information about response file formats
Customizing a Sample Response File
Oracle provides response file templates for each product and installation type, and for each configuration tool. The response files for Oracle Gateway, tg.rsp
and netca.rsp
, are located in the response directory on the media.
Note:
If you copied the software to a hard disk, then the response files are located in the Disk1\response
directory.
To copy and modify a response file:
Creating a New Response File
When you run Oracle Universal Installer in interactive mode, you can record your installation selections into a response file. You do this by running Oracle Universal Installer in Record mode. Oracle Universal Installer generates the response file immediately after you complete the Summary page, so you do not need to actually install the gateway to create the response file.
If you want to use the Record mode during a noninteractive installation, then Oracle Universal Installer records the variable values that were specified in the original source response file into the new response file.
To create a new response file:
Running Oracle Universal Installer and Specifying a Response File
You run Oracle Universal Installer at the command line, specifying a response file. The Oracle Universal Installer executable, setup.exe
, provides several options. For help information on the full set of these options, run setup.exe
with the -help
option, for example:
C:\ORACLE_BASE\ORACLE_HOME\oui\bin> setup.exe -help
To run Oracle Universal Installer and specify a response file:
Where... | Description |
---|---|
|
Identifies the full path of the response file |
|
Runs Oracle Universal Installer in silent mode and suppresses the Welcome screen. If you use - |
|
Suppresses the Welcome screen that appears during installation |
|
Closes the console window when the silent installation completes |