Skip Headers
Oracle9i Client Installation Guide
Release 2 (9.2.0.1.0) for Windows
A95494-02
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

4 Installing Oracle Components

This chapter describes how to install Oracle components from the component CDs.

This chapter contains these topics:

Installation Differences Between Windows and UNIX

Database administrators experienced with installing Oracle components in UNIX environments must note that many manual setup tasks required on UNIX are not required on Windows. Table 4-1 lists the key differences between UNIX and Windows installation.

Table 4-1 Key Differences between UNIX and Windows Installations

The... On UNIX Platforms... On Windows Platforms...

Environment variables, such as PATH, ORACLE_BASE, ORACLE_HOME, and ORACLE_SID

Must be set manually

Are set in the registry by Oracle Universal Installer

DBA account for database administrators

Must be created manually

Is created by Oracle Universal Installer

Account for running Oracle Universal Installer

Must be created manually

Is not required

Account solely dedicated to installing and upgrading Oracle components

Must be created manually

Is not required



See Also:

"Oracle9i Windows/UNIX Differences" of Oracle9i Database Getting Started for Windows

Before You Install Oracle9i

Perform the following tasks before installing Oracle components:

  1. Read the appropriate online documentation described in "What Documentation Do I Read First?" before you begin installation.

  2. Review and satisfy applicable system and component requirements in Chapter 2, "Preinstallation Requirements" before you begin installation.

  3. Log on as a member of the Administrators group to the computer on which to install Oracle components.

  4. Delete the ORACLE_HOME environment variable if it exists. Refer to your Microsoft online help for more information about deleting environment variables.


    Note:

    The ORACLE_HOME environment variable is automatically set in the registry. Manually setting this variable prevents installation.

  5. If you are installing in an existing Oracle9i release 1 (9.0.1) or release 2 (9.2.0) home, stop all Oracle services:

    • On Windows NT, choose Start > Settings > Control Panel > Services.

    • On Windows 2000, choose Start > Settings > Control Panel> Administrative Tools > Services.

    • On Windows XP, choose Start > Control Panel > Administrative Tools > Services.

    1. If any Oracle services (their names begin with "Ora") exist and have the status Started, select the service.

    2. Choose Stop on Windows NT, or choose Action > Stop on Windows 2000.

      In particular, ensure that the Oracle listener service is stopped. This service is named OracleHOME_NAMETNSListener for release 8.1 databases, OracleTNSListener80 for release 8.0 databases, or OracleTNSListener for release 7.3 databases.

    3. Choose Close to exit the Services window.

  6. Continue to the "Beginning Your Oracle9i Installation" section.

Beginning Your Oracle9i Installation

Using the old Oracle Installer (Installer shipped with releases 7.x and 8.0.x) to install components into an Oracle9i release 2 (9.2) Oracle home directory is not supported. Likewise, you cannot install release 2 (9.2) components into a release 7.x, 8.0.x, or 8.1.x Oracle home.

Follow these procedures to install Oracle9i components from the CD:

  1. Insert the first component CD.

    The Autorun window automatically appears. If the Autorun window does not appear:

    1. Choose Start > Run.

    2. Enter the following:

      DRIVE_LETTER:\autorun\autorun.exe

      The Autorun window appears.

  2. Choose Install/Deinstall Products from the Autorun window.

    The Welcome window appears.

  3. Choose Next.

    The File Locations window appears. Do not change the directory path in the Source field. This is the location of installation files.

  4. Enter the Oracle home name and directory path in which to install Oracle components in the Destination fields.


    Attention:

    Do not install Oracle9i release 2 (9.2) software into an existing Oracle home that contains Oracle8i or earlier software.

    The Oracle home name can be up to 16 characters in length and must include only alphanumeric characters and underscores. Spaces are not allowed. Note that Oracle Universal Installer does not accept a number as the first character in the Name field. The default directory path is <drive with the most available space>:\oracle\ora92.

  5. Choose Next.

    The Installation Types window appears. Continue to the "Choosing an Installation Type" section.

Choosing an Installation Type

Select the installation type from Table 4-2 that best meets your needs. Choose Next. Proceed to one of the following sections based on your selection.

Table 4-2 Top-Level Components

This Top-Level Component... Contains These Installation Type...

Oracle9i Client



Client Administrator or Runtime Installations

The Summary window appears when you select the Administrator or Runtime Client installation type.

  1. Review the space requirements to ensure that you have enough disk space and choose Install.

  2. Wait until the selected components are installed.

    The Configuration Tools window appears and Oracle Net Configuration Assistant starts. The configuration assistant prompts you to select a method to configure client access to your Oracle9i database if Oracle Net Client release 2 (9.2) is not already installed in the currently-specified Oracle home.


    See Also:


  3. Select a method for configuring client access to your Oracle9i database. See the online Help and "Configuring the Client Network" for more information on your choices.

    The End of Installation window appears.

  4. Choose Exit to exit Oracle Universal Installer or choose Next Install to install additional components.

If you selected the Administrator installation type, then Enterprise Manager Console Standalone appears.


Note:

Restart your computer after the first Oracle installation on Windows 98. Subsequent installations only require a shut down and restart if the Oracle home changes.


See Also:


Custom Oracle9i Client Installations

The Available Product Components window appears when you select the Custom Oracle9i Client installation type. The Install Status column of the Available Product Components window displays the status of all components available for installation.

  1. Select the check box of each component to install.


    Note:

    Only components with a check mark are installed.

  2. Select appropriate components to install and choose Next.

    The Component Locations window appears and enables you to select alternate locations in which to install some components.

  3. Choose Next to accept the default locations. Otherwise, choose a component from the list box and change the default location.

  4. If you select any of the components listed in Table 4-3, provide appropriate responses when prompted. Note that most components install silently without prompting you for additional information.

    Table 4-3 Custom Oracle9i Client Component Prompts

    If You Select... You Are Prompted To...

    Oracle Net Services

    Configure client access to the Oracle9i database if Oracle Net Services is not already installed in the currently-specified Oracle home.

    See Also: "Configuring the Client Network" for a description of the configuration procedures performed

    Oracle Services for Microsoft Transaction Server

    • Install Microsoft Transaction Server after installation, if it is not currently installed.

    • Enter a port on which the Oracle MTS Recovery Service will listen.


    The Summary window appears.

  5. Review the space requirements to ensure that you have enough disk space and choose Install.

  6. Wait until the selected components are installed and any configuration tools have completed running.

    The End of Installation window appears.

  7. Choose Exit to exit Oracle Universal Installer or choose Next Install to install additional components.

If you chose to install Enterprise Manager, then Enterprise Manager Console Standalone appears.


Note:

Restart your computer after the first Oracle installation on Windows 98. Subsequent installations only require a shut down and restart if the Oracle home changes.


See Also:


Reviewing the Installation Session Log

The first time the Installer runs it creates the SYSTEM_DRIVE:\Program Files\Oracle\Inventory\logs directory. An inventory of installed components and installation actions performed are kept in this directory.

Log filenames take the form installActionsdate_time.log (for example, installActions2001-07-14_09-00-56-am.log).

You can also view a list of installed components by choosing Installed Products on any window of Oracle Universal Installer. A window of installed programs appears.


Note:

Do not delete or manually alter the Inventory directory or its contents. Doing so can prevent the Installer from locating products that you install on your system.

Deinstalling Oracle Components and Services

This section describes how to deinstall Oracle components, utilities, and services.


Note:

Deinstalling Oracle9i JVM causes Oracle Universal Installer to remove the database and other products dependent on Oracle9i JVM from your system.

This section contains these topics:

Stopping Oracle Services on Windows Platforms

You must first stop the Oracle Windows services before deinstalling Oracle components or removing any registry entries.

To stop Windows services:

  1. Open the Services control panel:

    • On Windows NT, choose Start > Settings > Control Panel > Services.

    • On Windows 2000, choose Start > Settings > Control Panel> Administrative Tools > Services.

    • On Windows XP, choose Start > Control Panel > Administrative Tools > Services.

  2. If any Oracle services (names begin with Oracle or Ora) exist and have the status Started, select the service, and choose Stop.

  3. Choose Close to exit the Services window.

  4. Exit the Control Panel.

Deinstalling Components with Oracle Universal Installer

This section describes how to use Oracle Universal Installer to deinstall Oracle components (which deinstalls them from the installer inventory) instead of removing them manually.

Do not delete an Oracle home manually (for example, by deleting the directory structure with Windows Explorer or MS-DOS command prompt) because the components in that Oracle home remain registered in the Oracle Universal Installer inventory. If you then attempt an installation in the same Oracle home, some or all of the components selected may not be installed because the installer determines they are already installed.

Oracle Universal Installer creates Windows services for Oracle components during installation. However, the installer does not delete services created by .

To deinstall components with Oracle Universal Installer:

  1. Ensure that you first follow the instructions in "Stopping Oracle Services on Windows Platforms".

  2. Choose Start > Programs > Oracle Installation Products > Universal Installer.

    The Welcome window for Oracle Universal Installer appears.

  3. Choose the Deinstall Products button.

    The Inventory window appears.

  4. Expand the tree of installed components until you find the components to deinstall.

  5. Check the boxes of components to deinstall.

  6. Choose Remove.

    The Confirmation window appears.

  7. Choose Yes to deinstall the selected components.


    Note:

    A message may appear indicating that removing some components may cause other components to not function properly.

    The components are deinstalled from your computer. The Inventory window appears without the deinstalled components.

  8. Choose Close to close the Inventory window.

  9. Choose Exit to exit Oracle Universal Installer.

Removing Oracle Keys From the Registry on Windows NT, Windows 2000, and Windows XP

In rare situations, you may want to correct serious system problems by completely removing Oracle components from the computer.

Remove all Oracle components from your computer only as a last resort, and only if you want to remove all Oracle components from your system.

Oracle Universal Installer does not delete services created by Oracle Net Configuration Assistant, OiD Configuration Assistant, and Database Configuration Assistant. In addition, several other registry keys are not deleted.


Note:

You can also use the ORADIM utility to manually deinstall an instance and services. See "Postinstallation Database Creation" of Oracle9i Database Administrator's Guide for Windows.


Caution:

Use Microsoft Registry Editor at your own risk. Incorrect usage of Registry Editor can cause serious problems and may require reinstallation of your operating system.


To remove the Oracle Net Service registry entry on Windows NT, Windows 2000, and Windows XP:

  1. Log in as a member of the Administrators group.

  2. Ensure that you first follow the instructions in "Stopping Oracle Services on Windows Platforms".

  3. Start the registry at the MS-DOS command prompt:

    C:\> regedt32
    
  4. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete the OracleHOME_NAMETNSListener registry entry. Oracle Universal Installer automatically deletes all other Oracle Net Services.

  5. Exit the registry.

To remove all Oracle components from a computer on Windows NT, Windows 2000, and Windows XP:


Caution:

These instructions remove all Oracle components, services, and registry entries from your computer. In addition, any database files under ORACLE_BASE\oradata\DB_NAME are also removed. Exercise extreme care when removing registry entries. Removing incorrect entries can break your system.


  1. Log in as a member of the Administrators group.

  2. Ensure that you first follow the instructions in "Stopping Oracle Services on Windows Platforms".

  3. Start the registry at the MS-DOS command prompt:

    C:\> regedt32
    
  4. Go to HKEY_CLASSES_ROOT.

  5. Delete any key that starts with Oracle, ORA, or ORCL.

  6. Go to HKEY_LOCAL_MACHINE\SOFTWARE.

  7. Delete the ORACLE and Apache Group keys.

  8. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.

  9. Delete all keys under here that begin with ORACLE.

  10. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \Eventlog\Application.

  11. Delete all keys under here that begin with ORACLE.

  12. Go to HKEY_CURRENT_USER.

  13. Delete ORACLE.

  14. Go to HKEY_CURRENT_USER\SOFTWARE\ORACLE.

  15. Delete keys that start with Oracle or ORCL (if any exist).

  16. Delete any Oracle keys (if any exist).

  17. Close the registry.

  18. Restart your computer.

Update the System Variable Path

  1. Go to Start > Settings > Control Panel > System > Environment tab.

  2. Choose the system variable path and modify the Path variable.

  3. Remove any Oracle entries from the path. For example, if JRE was installed by Oracle, remove the %ORACLE_HOME%\BIN path and the JRE path. You may see a path similar to this one:

    C:\oracle\ora81\bin;C:\program files\oracle\jre\1.1.7\bin 
    
  4. Exit the Control Panel.

Remove Oracle from the Start Menu

  1. Go to SYSTEM_DRIVE:\winnt\profiles\all users\start menu\programs.

  2. Delete the following icons:

    • Oracle - HOME_NAME

    • Oracle Installation Products

      where HOME_NAME is the previous Oracle home name.

  3. Delete SYSTEM_DRIVE:\program files\oracle through Windows Explorer.

  4. Delete all ORACLE_BASE directories on your hard drive.

  5. Restart your computer.

Removing Oracle Keys from the Registry on Windows 98

To remove all Oracle components from a computer on Windows 98:

  1. Start the registry at the MS-DOS command prompt:

    C:\> regedit

  2. Go to HKEY_CLASSES_ROOT.

  3. Delete any key that starts with Oracle or ORCL.

  4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.

  5. Delete the ORACLE key.

  6. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\odbcinst.ini.

  7. Delete the Oracle ODBC Driver key.

  8. Go to HKEY_CURRENT_USER\SOFTWARE\ORACLE.

  9. Delete keys that start with Oracle or ORCL (if any exist).

  10. Go to HKEY_CURRENT_USER\SOFTWARE\ODBC\odbcinst.ini.

  11. Delete any Oracle keys.

  12. Close the registry.

  13. Restart your computer.

Update the System Variable Path

Edit your autoexec.bat file and remove your %ORACLE_HOME%\BIN and JRE paths from the path setting.

Remove Oracle from the Start Menu

  1. Delete SYSTEM_DRIVE:\Program Files\Oracle through Windows Explorer.

  2. Delete icons from:

    • SYSTEM_DRIVE:\windows\start menu\programs\oracle - HOME_NAME

    • SYSTEM_DRIVE:\windows\start menu\programs\oracle installation products

      where HOME_NAME is the previous Oracle home name.

  3. Delete all ORACLE_BASE directories on your hard drive.

  4. Restart your computer.