Oracle Internet Directory Installation Guide
Release 2.1.1 for Windows NT/2000

Part Number A87557-01

Library

Contents

Index

Go to previous page Go to next page

5
Deinstalling Oracle Components

This chapter describes how to deinstall Oracle components and services. It discusses the following topics:

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 NT 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. The following actions prevent Oracle Universal Installer from registering the installation in its inventory.

  • Choosing Cancel

  • Turning off the computer

  • Not completing the installation (that is, all required configuration tools do not run at the end)

Before restarting the installation, you may have to manually remove files that were installed before the installation was aborted. 


Task 1: Deinstall Net8, Oracle Internet Directory, and Oracle8i Database Registry Entries

Oracle Universal Installer creates Windows NT services for Oracle components during installation. However, Oracle Universal Installer does not delete services created by Net8 Configuration Assistant, OID Configuration Assistant, and Oracle Database Configuration Assistant. If you want to deinstall any of the following components, you must first stop all Oracle Windows NT services and remove the registry entries for their services, as detailed in Table 5-1.

Table 5-1  Deleting Registry Entries
For...  Remove the Registry Entries...  For... 

Net8 listener 

By manually editing the registry 

Net8 listener 

Oracle Internet Directory 

With the OIDMON utility 

Oracle Internet Directory 

Procedures for performing these tasks are provided in the following sections. After completing these procedures, go to "Task 2: Deinstall Components with Oracle Universal Installer" to complete deinstallation. If you do not want to deinstall the Net8 listener, Oracle Internet Directory, or Oracle8i database, go instead to step "Task 2: Deinstall Components with Oracle Universal Installer".

Stopping Oracle Windows NT Services

You must first stop the Oracle Windows NT services before removing any registry entries.

To stop Windows NT services:

  1. Choose Start > Settings > Control Panel > Services.

  2. If any Oracle services (names begin with Oracle) 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 Oracle Internet Directory Services

  1. Stop the Oracle Internet Directory Server at the MS-DOS command prompt:

    C:\> OIDCTL CONNECT=NET_SERVICE_NAME SERVER=OIDLDAPD INSTANCE=SERVER 
    INSTANCE_NUMBER STOP
    

    where NET_SERVICE_NAME is the network connection to the Oracle Internet Directory Server and SERVER_INSTANCE_NUMBER is the instance number (this number appears in the Server List tab of Oracle Directory Manager).

  2. Stop the Oracle Internet Directory Monitor at the MS-DOS command prompt:

    C:\> OIDMON STOP
    
  3. Remove the Oracle Internet Directory service OracleDirectoryService from the registry:

    C:\> OIDMON REMOVE
    
  4. Follow the procedures in "Deinstalling the Oracle8i Database and Registry Entries" to remove the Oracle8i database configured with Oracle Internet Directory.

Deinstalling the Oracle8i Database and Registry Entries

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

    Oracle Database Configuration Assistant starts.

  2. Select Delete a database and choose Next.

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

    The Oracle8i database is deinstalled and OracleServiceSID is deinstalled from HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services in the registry.

Task 2: Deinstall Components with Oracle Universal Installer

To deinstall components with Oracle Universal Installer:

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

    The Welcome window for Oracle Universal Installer appears.

  2. Choose Deinstall Products.

    The Inventory window appears.

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

  4. Check the boxes of components to deinstall.

  5. Choose Remove.

    The Inventory Confirmation window appears.

  6. 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.

  7. Choose Close to close the Inventory window.

  8. Choose 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.


Note:

You can also use the ORADIM utility to manually deinstall a database and registry entries. See the following documentation for information:

  • READMEDOC.HTM or READMEDOC.PDF located in the \DOC directory of the component CD-ROM

  • Chapter 6, "Post-Installation Database Creation" of Oracle8i Administrator's Guide for Windows NT

 

This section covers the following topics:

Removing Components on Windows NT

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


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. Ensure you are logged in as a user with Administrator privileges.

  2. Stop all Oracle services (if any are running):

    1. Choose Start > Settings > Control Panel > Services.

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

    3. Choose Close to exit the Services window.

  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 or ORCL.

  6. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.

  7. Delete the ORACLE key.

  8. Delete the Oracle ODBC Driver key under HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI.

  9. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and remove all keys under here that begin with ORACLE.

  10. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \EventLog\Application, and remove all keys under here that begin with ORACLE.

  11. Go to HKEY_CURRENT_USER\SOFTWARE\ORACLE and delete keys that start with Oracle or ORCL (if any exist).

  12. Go to HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBCINST.INI and delete Oracle keys (if any exist).

  13. Close the registry.

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

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

  16. 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;G:\PROGRAM FILES\ORACLE\JRE\1.1.7\BIN 
    
  17. Exit the Control Panel.

  18. Go to SYSTEM_DRIVE:\WINNT\PROFILES\ALL USERS\START MENU\PROGRAMS.

  19. Delete the following icons:

    • Oracle - HOME_NAME

      (The previous Oracle home name)

    • Oracle Installation Products

  20. Delete SYSTEM_DRIVE:\Program Files\Oracle through Windows NT Explorer.

  21. Delete all ORACLE_BASE directories on your hard drive.

  22. Reboot your computer.

Removing Components on Windows 95 or Windows 98

To remove all Oracle components from a computer on Windows 95 or 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. Delete the Oracle ODBC Driver key under HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI.

  7. Go to HKEY_CURRENT_USER\SOFTWARE\ORACLE.

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

  9. Go to HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBCINST.INI.

  10. Delete any Oracle keys.

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

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

  13. 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.

  14. Delete all ORACLE_BASE directories on your hard drive.

  15. Reboot your computer.


Go to previous page Go to next page
Oracle
Copyright © 1996-2001 Oracle Corporation.

All Rights Reserved.

Library

Contents

Index