Oracle8i Personal Edition Installation Guide
Release 2 (8.1.6) for Windows 98

A85314-01

Library

Product

Contents

Index

Prev Next

8
Deinstalling Oracle Components

This chapter describes how to deinstall Oracle components.

Specific topics discussed are:

Deinstalling Oracle Components with Oracle Universal Installer

This section describes how to use Oracle Universal Installer to deinstall Oracle components (which deinstalls them from the Oracle Universal Installer inventory) instead of removing them manually. If you delete an Oracle home manually (for example, by deleting the directory structure with Windows 98 Explorer), 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 Oracle Universal Installer determines they are already installed.


Note:

Manual removal of components is permitted only if you exit Oracle Universal Installer during an installation. For example:

  • Clicking Cancel

  • Turning off the computer

  • If the installation does not complete (that is, all required configuration tools do not run at the end)

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.  


Task 1: Deinstall Database, Net8 Components and Registry Entries

If you want to deinstall the Oracle8i database (and its data files) and/or Net8 Client and Net8 Server components, you must first stop those by following these steps. If you do not want to deinstall these components, go to step "Task 2: Deinstall Components with Oracle Universal Installer".

Oracle Universal Installer creates registry entries for Oracle components during installation. However, Oracle Universal Installer does not delete registry entries created by Oracle Database Configuration Assistant and Net8 Configuration Assistant.

To deinstall database, Net8 components and registry entries:

  1. If any database instance is running, stop it by right clicking on the database icon in systray and then selecting "Oracle8i Shutdown".

  2. To stop the listener, execute the following command at MS-DOS prompt:

    C:>lsnrctl stop
    

  1. If you want to deinstall the Oracle8i database, follow steps a through c. Otherwise, go to step 6 to deinstall Net8 services.

    1. Choose Start > Programs > Oracle - HOME_NAME > Database Administration > Database Configuration Assistant.

      Oracle Database Configuration Assistant starts.

    2. Select Delete a database and click Next.

    3. Follow the remaining windows to deinstall the Oracle8i database.

      The Oracle8i database is deinstalled.

  2. Go to "Task 2: Deinstall Components with Oracle Universal Installer" to complete component removal.

    Task 2: Deinstall Components with Oracle Universal Installer

    To deinstall components with Oracle Universal Installer:

    1. If you want to deinstall the Oracle8i database and Net8 components, ensure that you first follow the instructions in "Task 1: Deinstall Database, Net8 Components and Registry Entries".

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

      The Welcome window for Oracle Universal Installer appears.

    3. Click Deinstall Products.

      The Inventory dialog box appears.

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

    5. Check the boxes of components to deinstall.

    6. Click Remove.

      The Inventory Confirmation window appears.

    7. Click Yes to deinstall the selected components.

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

  3. Click Close to close the Inventory dialog box.

  4. Click Exit to exit Oracle Universal Installer.

Manually Removing all Oracle Components and Services from Your Computer

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.

Removing Components on Windows 98

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


WARNING:

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. Stop all Oracle database instance and listener by following step 1 and 2 of "Task 1: Deinstall Database, Net8 Components and Registry Entries"

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

    C:\> REGEDIT
    
  3. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.

  4. Delete the ORACLE key.

  5. Delete any Oracle key under HKEY_LOCAL_MACHINE\SOFTWARE\ODBC.

  6. Close the registry.

  7. Edit your AUTOEXEC.BAT file and remove your %ORACLE_HOME%\BIN and JRE paths from the path setting.

  8. Delete SYSTEM_DRIVE:\Program Files\Oracle from Windows Explorer.

  9. Delete icons from:

  1. Delete all ORACLE_BASE directories on your hard drive.

  2. Reboot your computer.


Prev Next
Oracle
Copyright © 2000 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index