Skip Headers

Oracle® Developer Suite Installation Guide 10g (9.0.4) for Windows, Linux, Solaris, and HP-UX Part No. B10579-02 |
| Library | Contents | Index

# D Silent and Non-Interactive Install

This chapter describes the silent and non-interactive installation of Oracle Developer Suite. The topics include:

- Introduction

- Requirements

- Preinstallation

- Working with Response Files

- Starting the Installation

- Postinstallation

## D.1 Introduction

Oracle Developer Suite features two methods of non-interactive installation:

- Silent Installation

- Non-Interactive Installation

Both methods are available for both Windows and for Linux, Solaris, and HP-UX platforms.

### D.1.1 Silent Installation

To do a silent installation of Oracle Developer Suite, you supply the installer with a response file and specify the `-silent` flag on the command line. The response file is a text file.

The installer uses the variables and parameter values in the response file to provide answers to all of the installation prompts. You include responses for all of the installation prompts in the response file. Silent installation does not display graphical output.

Use silent installation when you want to do similar installations to more than one computer. You can also use silent installation to install from a remote location using the command line. With silent installation, you do not need to monitor your installation because you do not need to enter information and you do not have a graphical user interface to watch.

### D.1.2 Non-Interactive Installation

You can also do a non-interactive installation of Oracle Developer Suite. You do this by supplying the installer with a response file, but you do not specify the `-silent` flag on the command line. The installer uses the variables and parameter values contained in the response file to provide answers to some or all of the user prompts. The installer displays its graphical user interface as in a normal installation, and if you choose not to provide responses to all of the prompts, you can enter information during the installation.

Use non-interactive installation when you want to see specific installation screens, or you want to enter some information interactively.

You can also use non-interactive installation from a remote location using the command line.

## D.2 Requirements

For a complete list of installation requirements, refer to Chapter 2, "Getting Started".

## D.3 Preinstallation

Before you install, do the following:

1. Complete the preinstallation tasks listed in Section 2.8, "Preinstallation Tasks".

   Note: HP-UX only: You must download and install the HP-UX Java SDK before you install Oracle Developer Suite. See Section 2.8.1, "General Checklist" for instructions.

2. Windows NT only: Ensure that you have performed the Windows System Files (WSF) installation. For instructions on starting the installation, please see Section 2.9.4.1.1, "Windows System Files Installation".

3. Linux, Solaris, and HP-UX only: Create the installer's inventory directory. To do this, navigate to the Oracle home directory you plan to use, and create a subdirectory such as `oracle_home`/`oraInventory`. For more information about the inventory directory, see Section 2.9.3, "The Installer Inventory Directory".

4. Linux, Solaris, and HP-UX only: If this is the first Oracle installation on your computer, create a file that points to the inventory directory. To do this:

   1. Log in as the `root` user.

   2. Create the directory `/var/opt/oracle` (except for Linux x86).

   3. In the `/var/opt/oracle` directory (or for Linux x86, the `/etc` directory), create a file `oraInst.loc` and insert the following lines:

      `inventory_loc=``oracle_home``/``inventory_directory`

      `inst_group=``inventory_owner_group`

      where

      - oracle_home is the Oracle home directory

      - inventory_directory is the inventory directory.

      - inventory_owner_group is a group that has write permission for inventory_directory (see Section 2.8.6.1, "Group Name for the Installer Inventory")

      For example, you might enter the following lines:

          inventory_loc=/private1/oracle/oraInventory
          inst_group=devsuitegrp

Note: On Linux x86, create `/etc/oraInst.loc` instead of `/var/opt/oracle/oraInst.loc`.

## D.4 Working with Response Files

To supply information to the installer in a silent or non-interactive installation, you provide a response file.

As a starting point, use the response file templates supplied in the `stage\Response` directory (for Windows) or `stage/Response` directory (for Linux, Solaris, and HP-UX) on Disk 1 of your Oracle Developer Suite product CD-ROM. On the DVD, this directory is `\developer_suite\stage\Response` (for Windows) or `/developer_suite/stage/Response` (for Solaris). Response file templates are available for all of the Oracle Developer Suite install types:

Table D-1 Response file names for install Types

Install Type | Response File Template Name
--- | ---
J2EE Development | `oracle.ids.toplevel.development.J2EE.rsp`
Business Intelligence (Windows only) | `oracle.ids.toplevel.development.BI.rsp`
Rapid Application Development (Windows Only) | `oracle.ids.toplevel.development.RAD.rsp`
Complete | `oracle.ids.toplevel.development.Complete.rsp`

You can find definitions of the response file parameters in the template files.

Note: The installer will fail if you attempt to do a silent installation using an incorrectly configured response file.

Note: Oracle recommends that you specify either "true" or "false" for Boolean parameters.

Note: HP-UX only: You must also read section Section D.4.1.4, "Using Response Files on HP-UX" for special instructions on using response files in a HP-UX environment.

### D.4.1 Example Response Files for Oracle Developer Suite Installations

To improve readability, the template file examples listed here do not contain comment lines describing the parameters. You can look at the comment lines in the template files on the CD-ROM or DVD.

#### D.4.1.1 Business Intelligence (Windows only)

This listing shows an example of a response file for a silent installation of the Business Intelligence install type. You must replace the suggested values (shown in italics) with your desired responses:

    RESPONSEFILE_VERSION=2.2.1.0.0
    FROM_LOCATION="../stage/products.jar"
    FROM_LOCATION_CD_LABEL="Oracle Developer Suite 10g"
    LOCATION_FOR_DISK2="../../Disk2"
    ORACLE_HOME="C:\DevSuiteHome"
    ORACLE_HOME_NAME="DevSuiteHome"
    TOPLEVEL_COMPONENT={"oracle.ids.toplevel.development","9.0.4.0.0"}
    DEINSTALL_LIST={"oracle.ids.toplevel.development","9.0.4.0.0"}
    SHOW_SPLASH_SCREEN=true
    SHOW_WELCOME_PAGE=false
    SHOW_COMPONENT_LOCATIONS_PAGE=false
    SHOW_CUSTOM_TREE_PAGE=false
    SHOW_SUMMARY_PAGE=true
    SHOW_INSTALL_PROGRESS_PAGE=true
    SHOW_REQUIRED_CONFIG_TOOL_PAGE=true
    SHOW_CONFIG_TOOL_PAGE=true
    SHOW_RELEASE_NOTES=true
    SHOW_END_SESSION_PAGE=true
    SHOW_EXIT_CONFIRMATION=true
    NEXT_SESSION=false
    NEXT_SESSION_ON_FAIL=true
    SHOW_DEINSTALL_CONFIRMATION=true
    SHOW_DEINSTALL_PROGRESS=true
    ACCEPT_LICENSE_AGREEMENT=true
    RESTART_SYSTEM=true
    COMPONENT_LANGUAGES={"en"}
    INSTALL_TYPE="BI"
    b_olite_install=true
    mailServerName="servername.domainname"
    oracle.wsf.verification:PROD_HOME="C:\DevSuiteHome"
    oracle.wsf.install:PROD_HOME="C:\DevSuiteHome"
    oracle.swd.jre:PROD_HOME="C:\DevSuiteHome"

#### D.4.1.2 Complete Install (Windows)

This listing shows an example of a response file for a silent installation of the Complete install type for Windows. You must replace the suggested values (shown in italics) with your desired responses:

    RESPONSEFILE_VERSION=2.2.1.0.0
    FROM_LOCATION="../stage/products.jar"
    FROM_LOCATION_CD_LABEL="Oracle Developer Suite 10g"
    LOCATION_FOR_DISK2="../../Disk2"
    ORACLE_HOME="C:\DevSuiteHome"
    ORACLE_HOME_NAME="DevSuiteHome"
    TOPLEVEL_COMPONENT={"oracle.ids.toplevel.development","9.0.4.0.0"}
    DEINSTALL_LIST={"oracle.ids.toplevel.development","9.0.4.0.0"}
    SHOW_SPLASH_SCREEN=true
    SHOW_WELCOME_PAGE=false
    SHOW_COMPONENT_LOCATIONS_PAGE=false
    SHOW_CUSTOM_TREE_PAGE=false
    SHOW_SUMMARY_PAGE=true
    SHOW_INSTALL_PROGRESS_PAGE=true
    SHOW_REQUIRED_CONFIG_TOOL_PAGE=true
    SHOW_CONFIG_TOOL_PAGE=true
    SHOW_RELEASE_NOTES=true
    SHOW_END_SESSION_PAGE=true
    SHOW_EXIT_CONFIRMATION=true
    NEXT_SESSION=false
    NEXT_SESSION_ON_FAIL=true
    SHOW_DEINSTALL_CONFIRMATION=true
    SHOW_DEINSTALL_PROGRESS=true
    ACCEPT_LICENSE_AGREEMENT=true
    RESTART_SYSTEM=true
    COMPONENT_LANGUAGES={"en"}
    INSTALL_TYPE="Complete"
    b_olite_install=true
    mailServerName="servername.domainname"
    oracle.wsf.verification:PROD_HOME="C:\DevSuiteHome"
    oracle.wsf.install:PROD_HOME="C:\DevSuiteHome"
    oracle.repository.ocxpack90:PROD_HOME="C:\DevSuiteHome"
    oracle.swd.jre:PROD_HOME="C:\DevSuiteHome"

#### D.4.1.3 Complete Install (Linux, Solaris, and HP-UX)

This listing shows an example of a response file for a silent installation of the Complete install type for Linux, Solaris, and HP-UX. You must replace the suggested values (shown in italics) with your desired responses:

    RESPONSEFILE_VERSION=2.2.1.0.0
    UNIX_GROUP_NAME=devsuitegrp
    FROM_LOCATION="../stage/products.jar"
    FROM_LOCATION_CD_LABEL="Oracle Developer Suite 10g"
    LOCATION_FOR_DISK2="../../Disk2"
    ORACLE_HOME="/private/DevSuiteHome"
    ORACLE_HOME_NAME="DevSuiteHome"
    TOPLEVEL_COMPONENT={"oracle.ids.toplevel.development","9.0.4.0.0"}
    DEINSTALL_LIST={"oracle.ids.toplevel.development","9.0.4.0.0"}
    SHOW_SPLASH_SCREEN=true
    SHOW_WELCOME_PAGE=false
    SHOW_COMPONENT_LOCATIONS_PAGE=false
    SHOW_CUSTOM_TREE_PAGE=false
    SHOW_SUMMARY_PAGE=true
    SHOW_INSTALL_PROGRESS_PAGE=true
    SHOW_REQUIRED_CONFIG_TOOL_PAGE=true
    SHOW_CONFIG_TOOL_PAGE=true
    SHOW_RELEASE_NOTES=true
    SHOW_ROOTSH_CONFIRMATION=true
    SHOW_END_SESSION_PAGE=true
    SHOW_EXIT_CONFIRMATION=true
    NEXT_SESSION=false
    NEXT_SESSION_ON_FAIL=true
    SHOW_DEINSTALL_CONFIRMATION=true
    SHOW_DEINSTALL_PROGRESS=true
    ACCEPT_LICENSE_AGREEMENT=true
    RESTART_SYSTEM=false
    COMPONENT_LANGUAGES={"en"}
    INSTALL_TYPE="Complete"
    b_olite_install=true
    mailServerName="servername.domainname"
    PROD_HOME="/private/DevSuiteHome"

#### D.4.1.4 Using Response Files on HP-UX

HP-UX only: Set the `JDKHome` variable in both the J2EE Development and Complete response files. This variable identifies the location of the Java 2 SDK 1.4.1 for PA-RISC.

For example, if you installed the Java 2 SDK to

`/opt/java/java1.4.1`

then you should ensure that the following line appears in the response file:

`JDKHome=/opt/java/java.1.4.1`

If necessary, you should add the line to the response file using a text editor.

## D.5 Starting the Installation

To use the response file at install time, start the installer from a command prompt. The form of the command depends on the platform you are installing to, and whether you wish to do a silent installation or a non-interactive installation.

### D.5.1 Starting the Installer for a Silent Installation

To start the installer for a silent installation, enter the following at the command prompt:

- Windows:

  `setup -silent -responseFile` `absolute_path_and_filename`

- Linux, Solaris, and HP-UX:

      ./runInstaller -silent -responseFile absolute_path_and_filename

### D.5.2 Starting the Installer for a Non-Interactive Installation

To start the installer for a non-interactive installation, enter the following at the command prompt:

- Windows:

  `setup -responseFile` `absolute_path_and_filename`

- Linux, Solaris, and HP-UX:

  `./runInstaller -responseFile` `absolute_path_and_filename`

## D.6 Postinstallation

The installer logs the result of a non-interactive or silent installation in the file `installActions.log`. For a silent installation, the installer also creates the file `silentInstall.log`. The log files are created in the inventory directory.

After the installation finishes, follow the postinstallation steps described in Section 3.2, "Postinstallation Tasks"