Preparing a Response File

Describest the methods that you can use to prepare a response file for use during silent-mode or response file-mode installations.

Editing a Response File Template

Oracle provides response file templates for each product and the installation type, and for each configuration tool. These files are located in the ORACLE_BASE\ORACLE_HOME\assistants directory, and the database\response directory on the Oracle Database installation media.

Note:

If you copied the software to a hard disk, the response files are located in the stage_area\database\response directory.

All response file templates contain comment entries, sample formats, examples, and other useful instructions. Read the response file instructions to understand how to specify values for the response file variables, so that you can customize your installation.

The following table lists the available sample response files:

Table B-2 Response Files

Response File Name Description

client_install.rsp

Oracle Database Client installation

netca.rsp

Silent installation of Oracle Net Configuration Assistant

Caution:

When you modify a response file template and save a file for use, the response file may contain plain text passwords. Ownership of the response file must be given to the Oracle software installation owner only. Oracle strongly recommends that database administrators or other administrators delete or secure response files when they are not in use.

To copy and modify a response file:

  1. Copy the appropriate response files from the client\response directory on the Oracle Database media to your hard drive.
  2. Modify the response files with a text file editor.
  3. Run the response file by following the instructions in the “Running Oracle Universal Installer Using the Response file” section.

Saving a Response File

You can use the Oracle Universal Installer in interactive mode to save a response file, which you can edit and then use to complete silent mode or response file mode installations.

Starting with Oracle Database 11g Release 2 (11.2), you can save all the installation steps into a response file during installation by clicking Save Response File on the Summary page. You can use the generated response file for a silent installation later.

When you save the response file, you can either complete the installation, or you can exit from Oracle Universal Installer on the Summary page, before it starts to copy the software to the system.

Note:

Oracle Universal Installer does not save passwords in the response file.

To save a response file:

  1. Ensure that the computer on which you are creating the response file has met the requirements. .

    When you run Oracle Universal Installer to save a response file, it checks the system to verify that it meets the requirements to install the software. For this reason, Oracle recommends that you complete all of the required preinstallation tasks and save the response file while completing an installation.

  2. At the command prompt, use the cd command to change to the directory that contains the Oracle Universal Installer setup.exe executable.

    Note:

    Windows requires Administrator privileges at the command prompt.

    On the installation DVD, setup.exe is located in the database directory. Alternatively, navigate to the directory where you downloaded or copied the installation files.

  3. Run setup.exe.

  4. After Oracle Universal Installer starts, enter the installation settings, to save the response file.

  5. When the installer displays the Summary screen, perform the following:

    1. Click Save Response File and specify a file name and location for the response file. Then, click Save to save the values to the file.

    2. Click Finish to continue with the installation.

      Click Cancel if you do not want to continue with the installation. The installation stops, but the saved response file is retained.

  6. Before you use the saved response file on another system, edit the file and make any required changes.

    Use the instructions in the file as a guide when editing it.