| Oracle9i Client Installation Guide Release 2 (9.2.0.1.0) for Windows A95494-02 |
|
![]() Previous |
![]() Next |
This chapter describes how to install Oracle components from the component CDs.
This chapter contains these topics:
Deinstalling Oracle Components and Services
|
See Also:
|
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 |
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 |
Perform the following tasks before installing Oracle components:
Read the appropriate online documentation described in "What Documentation Do I Read First?" before you begin installation.
Review and satisfy applicable system and component requirements in Chapter 2, "Preinstallation Requirements" before you begin installation.
Log on as a member of the Administrators group to the computer on which to install Oracle components.
Delete the ORACLE_HOME environment variable if it exists. Refer to your Microsoft online help for more information about deleting environment variables.
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.
If any Oracle services (their names begin with "Ora") exist and have the status Started, select the service.
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.
Choose Close to exit the Services window.
Continue to the "Beginning Your Oracle9i Installation" section.
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:
Insert the first component CD.
The Autorun window automatically appears. If the Autorun window does not appear:
Choose Start > Run.
Enter the following:
DRIVE_LETTER:\autorun\autorun.exe
The Autorun window appears.
Choose Install/Deinstall Products from the Autorun window.
The Welcome window appears.
Choose Next.
The File Locations window appears. Do not change the directory path in the Source field. This is the location of installation files.
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.
Choose Next.
The Installation Types window appears. Continue to the "Choosing an Installation Type" section.
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 |
|
|
See Also:
|
The Summary window appears when you select the Administrator or Runtime Client installation type.
Review the space requirements to ensure that you have enough disk space and choose Install.
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.
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.
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.
|
See Also:
|
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.
Select the check box of each component to install.
|
Note: Only components with a check mark are installed. |
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.
Choose Next to accept the default locations. Otherwise, choose a component from the list box and change the default location.
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... |
|---|---|
|
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 |
|
|
The Summary window appears.
Review the space requirements to ensure that you have enough disk space and choose Install.
Wait until the selected components are installed and any configuration tools have completed running.
The End of Installation window appears.
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.
|
See Also:
|
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 theInventory directory or its contents. Doing so can prevent the Installer from locating products that you install on your system. |
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:
Removing Oracle Keys From the Registry on Windows NT, Windows 2000, and Windows XP
Removing Oracle Keys from the Registry on Windows 98
|
Note: Manually removing components is not recommended unless you exit Oracle Universal Installer during an installation. For example:
In these cases, Oracle Universal Installer does not register the installation in its inventory. However, files may have been copied to your Oracle home. Remove these files manually and restart the installation. |
You must first stop the Oracle Windows services before deinstalling Oracle components or removing any registry entries.
To stop Windows services:
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.
If any Oracle services (names begin with Oracle or Ora) exist and have the status Started, select the service, and choose Stop.
Choose Close to exit the Services window.
Exit the Control Panel.
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:
Ensure that you first follow the instructions in "Stopping Oracle Services on Windows Platforms".
Choose Start > Programs > Oracle Installation Products > Universal Installer.
The Welcome window for Oracle Universal Installer appears.
Choose the Deinstall Products button.
The Inventory window appears.
Expand the tree of installed components until you find the components to deinstall.
Check the boxes of components to deinstall.
Choose Remove.
The Confirmation window appears.
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.
Choose Close to close the Inventory window.
Choose Exit to exit Oracle Universal Installer.
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:
Log in as a member of the Administrators group.
Ensure that you first follow the instructions in "Stopping Oracle Services on Windows Platforms".
Start the registry at the MS-DOS command prompt:
C:\> regedt32
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.
Exit the registry.
To remove all Oracle components from a computer on Windows NT, Windows 2000, and Windows XP:
Log in as a member of the Administrators group.
Ensure that you first follow the instructions in "Stopping Oracle Services on Windows Platforms".
Start the registry at the MS-DOS command prompt:
C:\> regedt32
Go to HKEY_CLASSES_ROOT.
Delete any key that starts with Oracle, ORA, or ORCL.
Go to HKEY_LOCAL_MACHINE\SOFTWARE.
Delete the ORACLE and Apache Group keys.
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
Delete all keys under here that begin with ORACLE.
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \Eventlog\Application.
Delete all keys under here that begin with ORACLE.
Go to HKEY_CURRENT_USER.
Delete ORACLE.
Go to HKEY_CURRENT_USER\SOFTWARE\ORACLE.
Delete keys that start with Oracle or ORCL (if any exist).
Delete any Oracle keys (if any exist).
Close the registry.
Restart your computer.
Go to Start > Settings > Control Panel > System > Environment tab.
Choose the system variable path and modify the Path variable.
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
Exit the Control Panel.
Go to SYSTEM_DRIVE:\winnt\profiles\all users\start menu\programs.
Delete the following icons:
Oracle - HOME_NAME
Oracle Installation Products
where HOME_NAME is the previous Oracle home name.
Delete SYSTEM_DRIVE:\program files\oracle through Windows Explorer.
Delete all ORACLE_BASE directories on your hard drive.
Restart your computer.
To remove all Oracle components from a computer on Windows 98:
Start the registry at the MS-DOS command prompt:
C:\> regedit
Go to HKEY_CLASSES_ROOT.
Delete any key that starts with Oracle or ORCL.
Go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.
Delete the ORACLE key.
Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\odbcinst.ini.
Delete the Oracle ODBC Driver key.
Go to HKEY_CURRENT_USER\SOFTWARE\ORACLE.
Delete keys that start with Oracle or ORCL (if any exist).
Go to HKEY_CURRENT_USER\SOFTWARE\ODBC\odbcinst.ini.
Delete any Oracle keys.
Close the registry.
Restart your computer.
Edit your autoexec.bat file and remove your %ORACLE_HOME%\BIN and JRE paths from the path setting.
Delete SYSTEM_DRIVE:\Program Files\Oracle through Windows Explorer.
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.
Delete all ORACLE_BASE directories on your hard drive.
Restart your computer.