Oracle universal installer windows

Содержание
  1. Обзор инструментов администрирования Oracle
  2. Oracle Universal Installer
  3. OUI Inventory
  4. Проверка системы
  5. Database Creation and Upgrade Tools
  6. Инструменты для выполнения SQL команд: SQL *Plus и SQL Developer
  7. SQL Developer
  8. 1 Using the Oracle Universal Installer
  9. New Features for Release 2.2
  10. System Requirements
  11. Installing Oracle Products
  12. Installing from a Single CD-ROM
  13. Installing from Multiple CD-ROMs
  14. Installing Using a Response File
  15. Specifying a Response File on Windows Systems
  16. Specifying a Response File on UNIX Systems
  17. Optional Parameters When Specifying a Response File
  18. Using a Response File on Character Mode Consoles
  19. Setting Response File Variables From the Command Line
  20. Getting Help While Installing Oracle Products
  21. Special Instructions for UNIX Users
  22. Failed to Connect to Server Error
  23. Providing a UNIX Installer Location with Root Privileges
  24. Providing a UNIX Group Name
  25. Oracle Universal Installer Concepts
  26. About the Oracle Universal Installer Inventory
  27. Locating the Inventory on Windows systems
  28. Locating the Inventory on UNIX
  29. About the ORAPARAM.INI File
  30. About Oracle Universal Installer Log Files
  31. Running the Oracle Universal Installer After It is Installed
  32. Determining the Default Oracle Home
  33. Using the Oracle Universal Installer Exit Codes
  34. Deinstalling Products
  35. Removing Oracle Products With the Oracle Universal Installer
  36. Deinstalling Top Level Products that Have Dependees
  37. Test 1: Test Components Having the «required» Type of Dependees
  38. Test 2: Test Components Having «1,more» Type of Dependees
  39. Forcing a Deinstall of a Component with a Different Internal Name
  40. Silent Deinstallation
  41. Immediately Displaying the Inventory Dialog Box
  42. Hiding the Inventory Dialog Box
  43. Hiding the Deinstallation Confirmation and Progress Dialog Boxes
  44. Internationalization and Installation Translations Support
  45. Installer/Installation Dialogs Language
  46. Product Language Selections

Обзор инструментов администрирования Oracle

Самая простая в реализации и в тоже время самая сложная стратегическая задача в жизненном цикле БД – планирование и установка БД. Несмотря на то что решения принятые на этом этапе не неизменяемы – всё же изменять их достаточно сложно. Например выбор имени БД, пути установки необходимых для работы исполняемых файлов и других важных компонентов кажется тривиальным, но после выбора они обычно остаются неизменны. Поэтому желательно хорошо оценить факторы которые влияют на планирование, установку сервера и создание БД.

Oracle предоставляет набор различных инструментов для управление окружением сервера. Первый из них – Oracle Universal Installer (OUI) – которые используется (как следует из названия) для установки программных продуктов Oracle. Далее следует Database Configuration Assistang (DBCA) – это инструмент для создания БД. Существует также инструмент для обновления БД Database Upgrade Assistance (DBUA) – но его мы не будет рассматривать. С помощью OUI можно установить различные инструменты для управления БД, в основном используется SQL *Plus и Oracle Enterprise Manager (OEM). Так же часто используется SQL Developer.

Oracle Universal Installer

Исторически, управление продуктами Oracle было не особо приятной задачей. Так сложилось, потому что DBA приходилось устанавливать различные продукты отдельно, в связи с проблемой несовместимости. Это не было необычным явлением, когда после успешной установки первого, второго и третьего продукта – установка четвертого продукта приводила к нерабчоему состоянию все три до этого установленные программы. Проблемы несовместимости лежат в использовании основных библиотек (base libraries). Эти библиотеки предоставляют функционал который используется во всех продуктах Oracle. Например все программы Oracle используют закрытый сетевой протокол Oracle Net – невозможно установить пррограммы Oracle без него. Если две программы Oracle используют одинаковую версию основных библиотек, то только тогда теоретически они могут быть установлены в одинаковой домашней директории Oracle (Oracle Home). Oracle Home – это путь куда установлена программа Oracle: набор файлов в папке. До OUI каждая программа имела свой установщик, которые не всегда мог корректно разобраться в совместимости с уже установленными программами.

OUI создан при помощи Java версии 5, что позволяет ему работать одинаково на всех платформах. Можно установить OUI как отдельный продукт в определённую домашнюю директорию, но обычно это не имеет смысла, так как OUI поставляется со всеми программами Oracle и может быть запущен из дистрибутива: он будет установлен вместе с программой в домашнюю директорию программы. Существуют различные версии OUI, и, если программа поставляется с более старой версией OUI, чем у другой уже установленной программы, то лучше использовать уже установленную версию (более новую) OUI. Когда OUI спросит местонахождение products.xml – просто укажите уме директорию новой программы.

OUI Inventory

Ключевым элементом OUI является хранилище (inventory). Это набор файлов, которые не стоит хранить в домашней директории какой-либо программы Oracle. В них хранится информация о всех программах Oracle установленных на данный компьютер, включая точную версию, путь, и, в некоторых случаех, даже номер последнего установленного обновления. Каждый запуск OUI проверяет хранилище на несовместимость перед установкой новой программы Oracle в уже имеющиеся домашние директории Oracle и записывать информацию после установки или обновления любой программы. Путь к этому хранилищу на Unix-подобных операционных системах может быть выбран DBA при первом запуске OUI. В Windows – хранилище всегда создается в

Все ОС имеют предустановленный путь по которому OUI будет искать указатель о существующем хранилище. В Linux –е это будет файл

В Solaris-е это так же файл

В Windows это запись в системном реестре

Когда запускается OUI – первым делом проверяется существование файла (или записи в реестре) и, если он не существует, предполагается что это первый запуск OUI и файл создаётся с записью в него пути к хранилищу. Все последующие вызовы OUI вне зависимости от версии смогут найти хранилище.

Такой механизм создания хранилища имеет проблемы с правами доступа ОС: в Linux или Unix пользователь который в первый раз запустит OUI должен иметь права записи в директорию где лежит указатель на хранилище. Однако только root пользователь может записывать в директории /etc или /var на Linux/Unix соответсвенно. Так как с точки зрения безопасности недопустимо запускать OUI с правами root, OUI сгенерирует скрипт, который необходимо будет выполнить от имени root пользователя для создания oraInst.loc файла-указателя на путь к хранилищу. В Windows пользователь запускающий OUI должен иметь права на запись в реестр.

Проверка системы

OUI проверяет компьютер на котором выполняется запуск на соответствие определённым критериям. Эти требования платформо-зависимы и записаны в файле установщика:

Они не сильно требовательные: проверить чтобы графическая система поддерживала 256 цветов.

Также в файле oraparam.ini нахоидтся путь к файлу products.xml. В файле products.xml описаны какие продукты могут быть установлены с конкретного дистридутива. У каждой программы есть набор своих критериев, и они более требовательные. Требования программы перечислены в XML файле. Обычно это

В фале Windows обычно указаны требования к размеру файла подкачки и версии ОС. Если у вас объём оперативной памяти 512-2048 МБ, то файл подкачки долже быть в 1.5 раза больше чем объём оперативной памяти. Для Unix систем критерии ещё более требовательные: помимо размера файла подчкачки проверяется наличие ряда установленных пакетов и настроек ядра.

Выполнение этих требований достаточно трудоёмкая задача и если вы уверены что конкретный пакет корректен (к примеру у вас стоит более поздняя версия) или значение параметра верно, вы можете пропустить эту проверку несколькими способами. Во первых, удалить требование из файла refhost.xml. Во-вторых, запустить OUI в режиме без предварительной проверки системы. И в третьих – во время работы программы OUI указать в диалоговом окне – игнорировать несоответствия.

Database Creation and Upgrade Tools

The database Configuration Assistant (DBCA) – графический инструмент для создания и изменения БД. Мастер установки поможет выбрать необходимые параметры и настроить пути для файлов без особых усилий. DBCA сгенерирует скрипты создания БД согласно выбранных вами параметров, проверит их на наличие ошибок и выполнит. Так же всё можно сделать вручную. DBCA написан на языке Java и требует настроенной домашней директории и графической подсистемы. Все сказанное выше верно также и для Database Upgrade Assistant (DBUA).

Инструменты для выполнения SQL команд: SQL *Plus и SQL Developer

Существует много инструментов для работы с Oracle. Два стандартных инструментра это SQL *Plus и SQL Developer. Они предоставляются компанией Oracle и подходят для администрирования и разработки. У SQL Developer больше функционал, но он требует графической подсистемы, а SQL *Plus можно использовать в режиме командной строки.

SQL *Plus доступен для всех платформ на которых можно установить Oracle, и он устанавливается по умолчанию с серверным и клиентским программным обеспечением Oracle. В Linux исполняемый файл называется sqlplus. Местоположение этого файла зависит от установки и обычно это

Ваш системный аккаунт должен быть настроен определённым образом, чтобы работать с SQL *Plus. Необходимо установить переменные системы

PATH должна включать в себя путь к папке bin в домашней директории программы. LD_LIBRARY_PATH – это путь к папке lib домашней директории программы. На рисунке 2-1 представлен пример проверки системных переменных и запуск SQL *Plus.

В системе Windows раньше было две версии SQL *Plus: программа в режиме командной стркои и программа с графическим интерфейсом (sqlplus.exe и sqplusw.exe соответственно). В версии 11g графическая версия больше недоступна, однако можно использовать программу более ранней версии (до 9i включительно, изменения в Oracle Net не позволят использовать программы версии ниже 9i для работы с БД версии старше 9i). Т.е. SQL Plus 10g может подключаться к БД 9i и наборот: SQL *Plus версии 9i можно использовать для работы с БД 11g. В Windows OUI сохраняет значения системных переменных в реестре в процессе установки, поэтому необязательно устанавливать значения переменных вручную, однако если SQL *Plus не запускается, стоит проверить реестр. На рисунке 2-2 указано окно Windows с фрагментов реестра. Путь к значениям используемым SQL *Plus


SQL Developer

SQL Developer – это инструмент для подключения к серверу Oracle (и не только Oracle) и выполнения команд SQL. В нём также можно разрабатывать PL/SQL объекты. В отличие от SQL *Plus – это графический инструмент с настроенными макросами для распространённых действий. SQL Developer разработан на языке Java и наличие JRE необходимо для запуска. Т.е. SQL Developer доступен для любой платформы для которой существет Java Runtime Environment. Последнюю версию можно скачать с сайта Oracle.

На рисунке 2-3 показан пример пользовательского интерфейса SQL Developer подключенного к БД и выполняющего простой SQL запрос. Он состоит из левой части используемой для навигации между объектами БД и правой части для ввода и вывода информации.

Читайте также:  Modern standby windows 10 как отключить

1
Using the Oracle Universal Installer

Oracle Universal Installer is a Java application that can handle complex requirements. Oracle Universal Installer performs component-based installations and enables different levels of integrated bundle, suite, and Web-based installations, as well as complex logic in a single package. The installation engine is easily portable across all Java-enabled platforms, and platform-specific issues can be encapsulated from the overall installation process.

The Oracle Universal Installer provides the following capabilities for addressing software management and distribution:

  • Automatic dependency resolution and complex logic handling
  • Installation from the Web
  • Component and suite installs
  • Implicit de-install
  • Support for multiple Oracle homes
  • National Language Support (NLS)/globalization support
  • Support for distributed installations
  • Unattended «silent» installations using response files

Although the Oracle Universal Installer can list all products previously installed with another Installer (such as orainst), it cannot deinstall them.

New Features for Release 2.2

Oracle Universal Installer Release 2.2 offers the following new features:

    You can now record your Oracle Universal Installer session to a response file.

This feature makes it easy to duplicate the results of a successful installation on multiple systems. All the options you selected during the installation are saved in the resulting response file. For information about recording your Universal Installer sessions see «Creating a Response File With Record Mode» on page 3-3.

More accurate disk space calculations

Oracle Universal Installer now uses a more accurate method of calculating the disk space required by your Oracle products. This feature reduces the risk of running out of disk space during an installation.

  • Some Oracle products now take advantage of a new feature that allows the software to launch automatically immediately after the installation.
  • System Requirements

    The Oracle Universal Installer system requirements are listed below:

    Java Runtime Environment (JRE)

    Automatically installed with the Oracle Universal Installer. Check the release notes or installation guide of the products you are installing for the exact version that is required.

    Memory Requirements:

    • Memory requirements vary depending on the number of components installed. Check the Release Notes of the products you are installing for details.
    • 32 MB minimum recommended on Win32 computers

    Disk Space Requirements

  • 9 MB for Installer files
  • 150 KB/component for other required files (for example, log files)
  • Installing Oracle Products

    The following sections describe how to start the Oracle Universal Installer and install an Oracle product. Specifically, this section describes:

    If a later version of the Oracle Universal Installer is detected on your machine, the detected version is used to install rather than the one on the CD-ROM.

    Installing from a Single CD-ROM

    While installing Oracle Products contained in a single CD-ROM on the Windows NT platform, start the Oracle Universal Installer by running the Oracle Universal Installer executable, SETUP.EXE.

    While installing Oracle Products residing in a single CD on UNIX platforms, run the script called runInstaller from the top directory of the CD-ROM by typing the following on the command line:

    Installing from Multiple CD-ROMs

    In the case of installing products that span multiple CDs for both UNIX and Windows platforms, temporary copies of OUI and JRE are placed in the TEMP or TMP directory so that these applications can be launched when you change CD-ROMs.

    If you are having trouble installing a product from multiple CD-ROMs, try using the following procedure to unmount the first CD-ROM and mount the second CD-ROM. If you still have problems, refer to the documentation links at the end of this topic.

    You may also need to launch the runInstaller script in the background by using the ampersand character:

    By launching runInstaller in the background, you can change your current directory after you launch the Oracle Universal Installer so that you can eject the CD. You may want to create a shell script that launches the Oracle Universal Installer in the background and then exits. If you choose to create a shell script, remember to also pass all parameters that passed to the shell script along to runInstaller in case you want to pass a response file name to run a silent installation.

    In most cases, the following procedure will help you with any problems you experience while switching to a second CD-ROM while you are installing an Oracle software. If you inadvertently run the installer while the current working directory is in the CD-ROM, follow these steps to mount the next CD-ROM:

    1. Change directory to the root directory of your system and log in as the root user by using the following commands:
    2. Unmount and remove the CD-ROM from the CD-ROM drive using the following command:
    3. Insert and mount the next CD-ROM into the CD-ROM drive by using the following command:
    4. Enter the correct mount point in the Installation dialog box.
    5. Click OK to continue.

    If after attempting this procedure you are still having problems, refer to the section on installing from multiple CD-ROMS in the Oracle9i Installation Guide, which is available from the Oracle Documentation Center.

    To locate documentation in the Oracle Documentation Center, enter the following URL in your Internet browser:

    Specifically, use the following URL to display platform-specific information about mounting multiple CD-ROMS on a variety of UNIX systems:

    Installing Using a Response File

    Many Oracle software products provide tools and procedures for running Oracle Universal Installer from the command line, without displaying the Universal Installer screens or responding to questions during the installation.

    These kind of installations are called silent installations. Instead of prompting you to select a series of installation options, Universal Installer installs the software using a predefined set of options. These options are stored in an Oracle Universal Installer response file.

    Consider the following information about Universal Installer response files:

    • If your product installation includes a response file, you can find it on your stage (CD-ROM) under the /response directory.
    • You can modify the response file for your Oracle product to customize an installation for your organization. For more information about customizing response files, see Chapter 3, «Customizing and Creating Response Files».
    • You can create your own response files using the Oracle Universal Installer record mode. For more information, see Chapter 3, «Customizing and Creating Response Files».
    • If you start Universal Installer programmatically from the command line, see «Using the Oracle Universal Installer Exit Codes» on page 1-14.

    The following sections describe how to specify a response file when you start Oracle Universal Installer.

    If you attempt to perform a silent installation on a UNIX computer where no Oracle products have been installed, you will receive an error message. Before you can perform a silent installation no such a computer, you must first run the script oraInstRoot.sh , which is saved in the /tmp directory. You must run this script with root privileges.

    Specifying a Response File on Windows Systems

    To start Oracle Universal Installer and specify the response file on Windows NT, enter the following command at the command line in the directory where the Universal Installer is installed:

    Specifying a Response File on UNIX Systems

    On UNIX systems, enter the following at the command line in the directory where the Universal Installer is installed:

    You must specify the complete responseFile path.

    Using the -nowelcome option with the -silent option is unnecessary since the Welcome screen does not appear when you use the -silent option.

    Optional Parameters When Specifying a Response File

    Optional parameters you may use with the -responseFile flag are:

    Use the -nowelcome flag along with the -responseFile flag to suppress the Welcome dialog that appears during installation.

    Use the -silent flag along with the -responseFile flag to run the Universal Installer in complete silent mode. Note that the Welcome dialog is suppressed automatically.

    Note that when the -silent flag is specified to the Universal Installer and if there are no values specified to a particular variable in a dialog, then the installer will abort. The success or failure of the installation, when this flag is specified, is generated in a file called silentInstall.log . This file will be generated in the /tmp directory in Solaris and the directory specified by the variable TEMP in Win32 platforms.

    Using a Response File on Character Mode Consoles

    When character mode consoles are used, Oracle recommends that you use the silent install, which is available with 8.1.5 and 8.1.6. Most (if not all) UNIX systems have the X packages by default. No additional installation is required.

    In 8.1.5 and 8.1.6 versions of the Oracle Universal Installer, the Database Configuration Assistant and Net8 Configuration Assistant require that the X software runs. They all instantiate some GUI classes, but no GUI needs to be displayed if you running in silent mode. An installation can be run from a console (non-X-Window system or a telnet/dial up session) as long as the target system has X started.

    Setting Response File Variables From the Command Line

    Starting with Oracle Universal Installer 2.1, you can specify the value of certain variables when you start Universal Installer from the command line.

    Specifically, you can specify session and component variables from the command line. For specific information about the format and organization of Universal Installer response files, see «Modifying a Response File» on page 3-2.

    When you specify the value of a variable on the command line, that value overrides the value of the variable if it is defined in the response file.

    Specifying the Value of a Session Variable

    To specify the value of a session variable on a UNIX system, use the following command syntax:

    For example, to prevent the Universal Welcome page from displaying:

    To specify the value of a session variable on a Windows system, use the following command syntax:

    For example, to prevent the Universal Welcome page from displaying:

    Specifying the Value of a Component Variable

    To specify the value of a component variable on a UNIX system, use the following command syntax:

    For example, to modify the value of a the variable VAR1 in version 1.1 of a component called COMP2:

    To specify the value of a component variable on a Windows system, use the following command syntax:

    For example, to modify the value of a the variable VAR1 in version 1.1 of a component called COMP2:

    Getting Help While Installing Oracle Products

    At any time while installing your product, click Help for information about the screens specific to your installation.

    Oracle Universal Installer provides two kinds of online help:

      Generic online help provided with every copy of Oracle Universal Installer

    These topics describe the screens and dialog boxes that every Oracle Universal Installer user sees, regardless of the product they are installing.

    Online Help specific to a particular installation

    These topics are created by the installation developer and describe the screens and dialog boxes specific to the product you are installing. For example, the help topic for the Installation Types page is often a custom help topic created by the installation developer that describes the specific installation types for the product you are installing.

    After you display an online help topic, choose Navigator from the Tools menu to display the Navigator pane. From the navigator pane, you can browse a table the contents, select other topics, or search for a particular word or phrase in the Oracle Universal Installer online help.

    Special Instructions for UNIX Users

    The following sections describe special instructions that apply when you are installing certain products on a UNIX system.

    Failed to Connect to Server Error

    If you get an Xlib error or a «Failed to connect to Server» error when you are running Oracle Universal Installer on a Sun Solaris system, you need to define the following environment variables.

    On the host computer where you are running Oracle Universal Installer, define the following variable:

    Replace with the name of the computer that will display Universal Installer.

    On the computer that will display Universal Installer, enter the following command. This command allows other computers to display information on the computer’s monitor:

    Re-run the runInstaller script after you have set the DISPLAY environment variable.

    Providing a UNIX Installer Location with Root Privileges

    Various installation operations on the UNIX platform must be performed with root privileges. For example, you must have root privileges to be able to create the Oracle Universal Installer inventory.

    If you do not have root privileges, you will be prompted to run a shell script from another terminal window before proceeding with the installation.

    To successfully run this script:

    1. Leave the Oracle Universal Installer window open and open another terminal window.
    2. In the new terminal window, use the substitute user command to log in with root privileges:
    3. Change directory to the Oracle Home into which you are currently installing your Oracle software product.
    4. Run the shell script identified in the Oracle Universal Installer prompt.
    5. When the script is finished and you are returned to the command prompt, exit from the new terminal window and return to Oracle Universal Installer to continue the installation.

    Do not exit the installation in order to run the shell script. Exiting the install removes this script.

    You are prompted to run the script only the first time you install.

    Providing a UNIX Group Name

    If you are installing a product on a UNIX system, the Installer will also prompt you to provide the name of the group which should own the base directory.

    You must choose a UNIX group name which will have permissions to update, install, and deinstall Oracle software. Members of this group must have write permissions to the base directory chosen.

    Only users who belong to this group are able to install or deinstall software on this machine.

    Oracle Universal Installer Concepts

    The following sections describe:

    • The Oracle Universal Installer inventory
    • The Oracle Universal Installer ORAPARAM.INI file
    • The Oracle Universal Installer Exit Codes

    About the Oracle Universal Installer Inventory

    The Oracle Universal Installer inventory is the location for the Oracle Universal Installer’s bookkeeping. The inventory stores information about:

    • All Oracle software products installed in all Oracle homes on a machine
    • Other non-Oracle products, such as the Java Runtime Environment (JRE)

    Starting with Oracle Universal Installer 2.1, the information in the Oracle Universal Installer inventory is stored in Extensible Markup Language (XML) format. The XML format allows for easier diagnosis of problems and faster loading of data. Any secure information is not stored directly in the inventory. As a result, during deinstallation of some products, you or your customer may be prompted for required secure information, such as passwords.

    By default, the Universal Installer inventory is located in a series of directories at /Program Files/Oracle/Inventory on Windows computers and in the /Inventory directory on UNIX computers.

    To identify the exact location of the inventory on your system, see the following sections.

    Locating the Inventory on Windows systems

    On the Windows platform, the Oracle Universal Installer first queries the registry to see if the following Oracle Home setting present:

    If this value is found, it will be used as the inventory location. If the value is not found, the following sequence occurs:

      The Oracle Universal Installer requests the location of the Program Files directory.

    The Program Files folder is a system-defined directory usually on the C drive.

  • The directory structure is created in the form:
  • The registry is updated with this inventory location.
  • Locating the Inventory on UNIX

    At startup, the Oracle Universal Installer first looks for the following file: var/opt/oracle/oraInst.loc

    If this value is found, it will be used as the inventory location. If the value is not found, the inventory path is created as follows:

    If the ORACLE_BASE environment variable is not defined, the inventory is created at the same level as the first Oracle home. For example, if your first Oracle home is at /private/ORACLEHome1 , then, the inventory is at /private/oraInventory .

    If the Oracle Universal Installer is unable to create an inventory directory at these locations, it prompts you with a locations dialog.

    Clicking the Save As button pops up a File browse dialog to accept a file name. The inventory as seen in the inventory tree will be logged into this file as text.

    About the ORAPARAM.INI File

    The ORAPARAM.INI file is the Oracle Universal Installer initialization file. This file includes information that defines the behavior of certain Universal Installer features. The installation developer provides a unique ORAPARAM.INI file for each product installation.

    The ORAPARAM.INI file can help you troubleshoot problems and understand certain aspects of the Oracle Universal Installer product.

    For example, for most installations, Universal Installer provides a default value on the File Locations page that points to the location of the product’s installation kit or stage. This default value is stored in the ORAPARAM.INI file. The ORAPARAM.INI file also identifies the location of the Java Runtime Environment (JRE) required for the installation.

    The ORAPARAM.INI file is located in the same directory as the command you use to start Oracle Universal Installer.

    For detailed information about the contents of the ORAPARAM.INI file, see «Understanding the Contents of the ORAPARAM.INI File» on page B-4.

    About Oracle Universal Installer Log Files

    When you install or deinstall products using Oracle Universal Installer, important information about each install is saved not only in the Universal Installer inventory, but also in a series of log files. These log files can be used to troubleshoot installation problems. These files are also crucial for deinstalling and configuring the various software components you install on your Windows or UNIX computer.

    For more information about the log files generated by Oracle Universal Installer, see the Oracle Universal Installer online help. For more information about using the Universal Installer online help, see «Getting Help While Installing Oracle Products» on page 1-8.

    Running the Oracle Universal Installer After It is Installed

    The Oracle Universal Installer is installed on your system during the installation of your Oracle products:

    • On NT: \Program Files\Oracle\oui
    • On Solaris: it is at the same level as

    A new version of the Oracle Universal Installer replaces its older version.

    The Oracle Universal Installer is placed under «Independent Products» in the Inventory panel as a «non-Oracle Home» product because it maintains an inventory across all Oracle Homes.

    To run the Oracle Universal Installer:

    • On Windows platforms, select Start=>Programs=>Oracle Installation Products=>Oracle Universal Installer.
    • On Solaris, execute ./runInstaller from the area where it is installed.

    For example: if the is /u01/oracle/oraInventory ; then, the Oracle Universal Installer will be at /u01/oracle/oui

    When the Oracle Universal Installer is first run/installed, it checks for the JRE path (the location where it is run from), using the location specified in the oraparam.ini file. If the JRE does not exist here, the Oracle Universal Installer looks for a local JRE.

    Determining the Default Oracle Home

    By default, when you start Universal Installer, the software searches your system to determine the default Oracle Home where Oracle software should be installed.

    The list of Oracle homes on Windows platforms consists of the following:

    • all Oracle homes that are already created using the Oracle Universal Installer
    • all homes created using the previous Oracle Installer (ORCA-based). Note: The Oracle Universal Installer only displays these homes. No actions can be performed on the homes creating using the previous Oracle Installer.
    • the home that the ORACLE_HOME environment variable points to

    The list of Oracle homes on UNIX consists of the following:

    • all Oracle homes that are already created using the Oracle Universal Installer
    • all homes as defined in the /var/opt/oratab file. Note: This location may vary for different UNIX platforms
    • the home that the ORACLE_HOME environment variable points to

    If none of these homes exists on a machine, a default home is calculated based on the disk volume with the largest amount of free space.

    Using the Oracle Universal Installer Exit Codes

    If you are starting and stopping Universal Installer programmatically (for example, by invoking Universal Installer using a response file), you may need to consider the exit codes generated by Universal Installer and perform a particular action depending on the code Universal Installer returns.

    The Oracle Universal Installer returns one of the following exit codes:

    All installations were successful

    All installation were successful but some optional configuration tools failed

    At least one installation failed

    1. This feature will not work if the Oracle Universal Installer is running in «bootstrap» mode. In this case setup.exe/runInstaller will just launch the JRE process and return immediately without waiting for the exit code. The Oracle Universal Installer will be running in «bootstrap» mode if the following line exists in the file «oraparam.ini»:
    2. If you exit without installing any products (for example if you exit from the «Welcome» screen), the exit code will be -1.

    Deinstalling Products

    The following sections describe how to remove products you have installed with the Oracle Universal Installer.

    Removing Oracle Products With the Oracle Universal Installer

    A deinstallation can be performed before making your selection of products to install or after a successful install.

    To remove Oracle products, perform the following steps:

    1. Start the Oracle Universal Installer from a CD-ROM or
      • For Windows platforms, launch the Oracle Universal Installer from the Start menu. Choose Start > Installation Products > Oracle Universal Installer.
      • For UNIX platforms, run the script called runInstaller from the directory it was installed in, which is by default at the same level with the first Oracle Home called «oui» created on that machine.
    2. Click Deinstall Products on the «Welcome» screen.

    The Inventory panel appears.

  • Check the product(s) you want to remove from the Inventory panel and click Remove.
  • The Remove Confirmation Dialog appears, asking if you want to remove the products and their dependee components. Click Yes.
  • The Oracle Universal Installer warns you of any product dependencies that might cause problems if particular products are removed, and prompts you to confirm the de-installation.

    Pay special attention to the full list of products being deinstalled before proceeding. The Oracle Universal Installer computes this list based on the dependencies of each component.

    You can also remove products by using the Installed Products button on the Oracle Universal Installer as long as this action is performed before making your selection of products to install.

    Deinstalling Top Level Products that Have Dependees

    A top level component is the most important component of an installation. It is the installable product you see at the first install screen. You can only install one top level component per install session.

    The following examples use top level components that have dependees of different types offered by Oracle Universal Installer.

    Test 1: Test Components Having the «required» Type of Dependees

    Create 2 top level components (A, B), each having the same «required» dependee (C).

    Install

    I1a. Choosing A results in the install of A and C.

    I1b. Later, choosing B results in only B being installed (its dependee C was previously installed).

    Deinstall

    D1a. Choosing A results in deinstall of A only. C is not deinstalled since it is also a «required» dependee of B, and thus is still needed.

    D1b. Choosing A and C results in deinstalling A, B, and C. B is also deinstalled since its «required» dependee C is being deinstalled and it cannot be left installed without it.

    D1c. Choosing C results in deinstalling A, B, and C. A and B are also deinstalled since their «required» dependee C is being deinstalled and they cannot be left installed without it.

    Test 2: Test Components Having «1,more» Type of Dependees

    Create 2 top level components (A, B), each having the SAME two ‘1,more’ type dependees (C,D).

    Install Test 2

    I2.a. Choosing A and both dependees (C,D) results in the install of A,C,D.

    I2.b. Later, choosing B (without C,D) results in the install of only B.

    Deinstall Test 2

    D2.a1. Choosing A results in deinstall of only A.

    D2.a2. Choosing A and ONE dependee C (under A) results in deinstall of all (A,B,C,D). Note the deinstall of B and D occurs.

    D2.a3. Choosing only ONE dependee C (under A) results in deinstall of all (A,B,C,D). Note the deinstall of A, B and D occurs.

    D2.a4. Choosing only one dependee D (under A) results in deinstall of all (A,B,C,D). Note the deinstall of A, B and C occurs.

    D2.a5. Choosing both dependee C and D (under A) results in deinstall of all (A,B,C,D). Note the deinstall of A and B occurs.

    D2.b1. Choosing B results in deinstall of only B.

    D2.b2. Choosing B and one dependee C (under B) results in deinstall of all (A,B,C,D). Note the deinstall of A and D occurs.

    D2.b3. Choosing only one dependee C (under B) results in deinstall of all (A,B,C,D). Note the deinstall of A, B and D occurs.

    D2.b4. Choosing only one dependee D (under B) results in deinstall of all (A,B,C,D). Note the deinstall of A, B and C occurs.

    D2.b5. Choosing both dependee C and D (under B) results in deinstall of all (A,B,C,D). Note the deinstall of A and B occurs.

    Forcing a Deinstall of a Component with a Different Internal Name

    You cannot programmatically force the deinstallation of a certain component from a certain component; however, the Oracle Universal Installer’s dependency engine should take care of the deinstallation should deinstall the component and replace it with the new component.

    The rule is as follows:

    • A.v1 depends on B
    • A.v2 depends on C
    • A.v1 is in the replace range of A.v2

    Upgrading A from v1 to v2 will perform the following:

    • deinstall A.v1 and B
    • install A.v2 and C

    Note: Make sure the new version is marked to replace the old version. For example, the old version should be in the replace range of the new version.

    Make sure the new version is marked to replace the old version. In the .prp, you can specify the version range to be replaced. For example, the old version should be in the replace range of the new version.

    Silent Deinstallation

    With Universal Installer you can not only perform silent installations, as described in «Installing Using a Response File» on page 1-4, but you can also perform silent deinstallations. A silent deinstallation allows you to remove Oracle applications from your system without using the Universal Installer graphical user interface.

    You can choose to display no dialog boxes or prompts to the user, or you can selectively avoid displaying certain dialog boxes that are normally used during a deinstallation.

    Immediately Displaying the Inventory Dialog Box

    Use the following command on a Windows computer to immediately display the Inventory dialog box, which allows the user to select items for deinstallation without navigating the Universal Installer startup screen:

    On a UNIX computer, use the following command to produce the same result:

    Hiding the Inventory Dialog Box

    If you would like to hide the inventory dialog box from the user during a deinstallation, you can specify the items to be deinstalled in the DEINSTALL_LIST parameter of the response file. For more information about response files, see «Installing Using a Response File» on page 1-4.

    For information about the DEINSTALL_LIST parameter, see Chapter 3, «Customizing and Creating Response Files».

    As with other response file parameters, you can also specify the DEINSTALL_LIST parameter on the Universal Installer command line. For example, on a Windows computer, enter:

    For more information about using the command to specify response file parameters, see Chapter , «Setting Response File Variables From the Command Line».

    Hiding the Deinstallation Confirmation and Progress Dialog Boxes

    Use the following commands to hide the deinstallation confirmation and progress dialog boxes during a silent deinstallation on a Windows computer:

    Use the following commands to hide the deinstallation confirmation and progress dialog boxes during a silent deinstallation on a UNIX computer:

    Internationalization and Installation Translations Support

    The following sections describe how Oracle Universal Installer supports multiple languages and internationalization.

    Installer/Installation Dialogs Language

    The Oracle Universal Installer runs in the language of the operating system. The Oracle Universal Installer uses the language that Java detects, the system locale value, and sets that to the default language. The Installer dialogs will be displayed in this language if available. If specific Installer dialogs are not translated in the language of the operating system, those dialogs will be shown in English.

    Oracle Universal Installer supports the following languages:

    • German
    • Latin American Spanish
    • French
    • Italian
    • Japanese
    • Korean
    • Brazilian Portuguese
    • Simplified Chinese
    • Traditional Chinese

    Product Language Selections

    If multiple languages are defined for the products installed, the Universal Installer allows language selection via the Custom install type only. The languages selections are for the top level component being installed. A top level component is the product selected on the Products Selection dialog, a single one per installation session. If any sub-components (lower level) do not have files defined for the language the user selects, English only will be installed. The English files are always installed for all components, regardless of user selection or operating system language.

    If a component is already installed, but with a different language set, that component will be reinstalled.

    At install time, the Oracle Universal Installer looks at the language list of each file/file group to determine which need to be copied.

    Читайте также:  Chessmaster grandmaster edition для windows
    Оцените статью
    Code Description