B Understanding OUI Commands

The Oracle Universal Installer is run with various options and command-line arguments. This appendix lists the syntax of Oracle Universal Installer and the various command-line options available in Oracle Universal Installer. The following command shows the syntax for running the Oracle Universal Installer:

./launch or setup.exe <-options> [-command_line_variable=value]

In the preceding command, the following variables are used:

  • <option>

    The options available in Oracle Universal Installer. They are described in Table B-1.

  • <command_line_variable>

    The command-line variable for the option. They are described in Table B-2.

    Note:

    You can pass the command line variable in either of the following three ways:
    1. <command_line_variable>={"value1","value2"}

    2. "<command_line_variable>={value1,value2}"

    3. <command_line_variable>="{value1,value2}"

B.1 Options Available in Oracle Universal Installer

Table B-1 lists the various options available in Oracle Universal Installer.

Table B-1 Options in Oracle Universal Installer

Option Description

-attachHome

Attaches homes to the Oracle Universal Installer inventory. You must pass the ORACLE_HOME session variable when using this option.

-compatibilityFile <file>

Location of the file that specifies feature set dependency changes.

-debug

Used for getting the debug information from Oracle Universal Installer.

-deinstall

Uninstall the specified distribution.

-detachHome

Detaches homes from the Oracle Universal Installer inventory without deleting the inventory directory inside the Oracle home. You must pass the ORACLE_HOME session variable when using this option.

-distributionName <val>

Name of a distribution installed in this Oracle Home. Used with -deinstall.

-distributionVersion <val>

Version of a distribution installed in this Oracle Home. Used with -deinstall.

-executeSysPrereqs

Executes system prerequisite checks and exits. System prerequisites means OUI prerequisites (checked by the launcher), not product-specific prerequisites.

-help

Lists the syntax and help information.

-ignoreSysPrereqs

Ignore the results of the system prerequisite checks. System prerequisites means OUI prerequisites (checked by the launcher), not product-specific prerequisites.

-install

Perform an installation. This is the default operation.

-invPtrLoc <full path of oraInst.loc>

UNIX only. Use the specified inventory pointer file instead of the default. The inventory pointer file contains:

inventory_loc=<location of central inventory>
inst_group=<UNIX group name>

-logLevel <level>

Omit log messages whose priority level is less than <level>. Valid levels are: severe, warning, info, config, fine, finer, finest.

-noconsole

Do not allocate a console, and suppress the display of messages to the console. Windows only.

-nowait

Do not wait for the user to press Enter on the console after the operation (for example, install) is complete. Windows only.

-paramFile <location of file>

Specifies the location of the oraparam.ini file to be used by Oracle Universal Installer.

-prereqchecker

Performs a set of product-specific prerequisite checks, which depend on the product being installed as well as the platform.

-printdiskusage

Logs debug information about disk usage.

-printmemory

Logs debug information for memory usage.

-printtime

Logs debug information for time usage.

-regenerateLibraries

Allow libraries to be updated after an Oracle home has been modified.

-responseFile <Path>

Location of the response file containing input for OUI.

-silent

Used for silent mode operations. The input can be a response file or a list of command line variable value pairs. You can use the -responsefile option along with this option.


B.2 Command-Line Variables Available in Oracle Universal Installer

Table B-2 lists the command-line variables available in Oracle Universal Installer:

Table B-2 Command-Line Variables in Oracle Universal Installer

Command-Line Variable Description

ACCEPT_LICENSE_AGREEMENT

Specifies the license agreement status. By setting this variable to true, you are accepting the license agreement.

ANONYMOUS_LOGIN

Specifies an anonymous login.

COMPONENT_LANGUAGES

Specifies the languages in which the components will be installed.

IGNORE_PREREQ

Specifies whether to skip the prerequisite checks or not. Set to true to continue component installation even when the prerequisite check fails.

INSTALL_TYPE

Specifies the installation type of the components.

INVENTORY_LOCATION

Specifies the inventory location.

LOGIN_CATEGORY

Specifies the login category.

LOGIN_NAME

Specifies the login name.

ORACLE_HOME

Specifies the ORACLE_HOME location.

ORACLE_HOME_FOLDER

Specifies the ORACLE HOME folder name. This is used only on Windows platform.

ORACLE_HOME_KEY

Specifies the ORACLE HOME key name. This is used only on Windows platform.

ORACLE_HOME_SERVICE

Specifies the ORACLE HOME service name. This is used only on Windows platform.

ORACLE_HOSTNAME

Specifies the host name of the system.

PASSWORD

Specifies the password.

REGISTRATION_KEYWORD

Specifies the registration keyword value. This can be obtained from the URL specified in the Product Registration Page.

SELECTED_LANGUAGES

Specifies the selected languages.

SELECTED_PLATFORMS

Specifies the selected platforms.

UNIX_GROUP_NAME

Specifies the group name on a UNIX platform.