7
Deinstalling Oracle Components and Services
This chapter describes how to deinstall Oracle components and services.
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 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. 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 Net8 Services and Registry Entries
If you want to deinstall Net8 Client components on Windows NT, you must first deinstall the registry entries for their services 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 Windows NT services for Oracle components during installation. However, Oracle Universal Installer does not delete Windows NT services created by Net8 Configuration Assistant.
To deinstall Net8 services and registry entries:
- Choose Start > Settings > Control Panel > Services.
- If any Oracle services (names begin with Oracle) exist and have the status Started, select the service, and click Stop.
- Click Close to exit the Services window.
- Exit the Control Panel.
- Start the registry at the MS-DOS command prompt:
C:\> REGEDT32
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete the following Net8 registry entries (if they exist):
- OracleHOME_NAMECMAdmin
- OracleHOME_NAMECMan
- OracleORACLE_HOMENamesonames_server
- OracleORACLE_HOMEClientCache
- Exit the registry.
- 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:
- If you want to deinstall Net8 components, ensure that you first follow the instructions in "Task 1: Deinstall Net8 Services and Registry Entries".
- Choose Start > Programs > Oracle Installation Products > Universal Installer.
The Welcome window for Oracle Universal Installer appears.
- Click Deinstall Products.
The Inventory dialog box appears.
- Expand the tree of installed components until you find the components to deinstall.
- Check the boxes of components to deinstall.
- Click Remove.
The Inventory Confirmation window appears.
- Click Yes to deinstall the selected components.
Note:
A message may display indicating that removing some components may cause other components to not function properly.
|
The components are deinstalled from your computer. The Inventory dialog box appears without the deinstalled components.
- Click Close to close the Inventory dialog box.
- 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 NT
To remove all Oracle components from a computer on Windows NT:
WARNING:
These instructions remove all Oracle components, services, and registry entries from your computer. Exercise extreme care when removing registry entries. Removing incorrect entries can break your system.
|
- Ensure you are logged in as a user with Administrator privileges.
- Stop all Oracle services (if any are running):
- Choose Start > Settings > Control Panel > Services.
- If any Oracle services (their names begin with Oracle) exist and have the status Started, select the service and click Stop.
- Click Close to exit the Services window.
- Start the registry at the MS-DOS command prompt:
C:\> REGEDT32
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.
- Delete the ORACLE key.
- Delete any Oracle key under HKEY_LOCAL_MACHINE\SOFTWARE\ODBC.
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and remove all keys under here that begin with ORACLE.
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \EventLog\Application, and remove all keys under here that begin with ORACLE.
- Close the registry.
- Go to Start > Control Panel > System > Environment tab.
- Click on the system variable path and modify the Path variable.
- If JRE was installed by Oracle, remove the %ORACLE_HOME%\BIN path and the JRE path. For example, you may see a path similar to this one:
C:\ORACLE\ORA81\BIN;G:\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:
- Delete SYSTEM_DRIVE:\Program Files\Oracle.
- Delete all ORACLE_BASE directories on your hard drive.
- Reboot your computer.
Removing Components on Windows 95 or Windows 98
To remove all Oracle components from a computer on Windows 95 or 98:
- Start the registry at the MS-DOS command prompt:
C:\> REGEDIT
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.
- Delete the ORACLE key.
- Delete the Oracle key under HKEY_LOCAL_MACHINE\SOFTWARE\ODBC.
- Edit your AUTOEXEC.BAT file and remove your %ORACLE_HOME%\BIN and JRE paths from the path setting.
- Delete SYSTEM_DRIVE:\Program Files\Oracle from Windows Explorer.
- Delete icons from:
- Delete all ORACLE_BASE directories on your hard drive.
- Reboot your computer.