B Manual Cleanup of a Deinstalled Oracle Database

If the deinstallation of the OEE database fails for some reason, you need to perform the manual steps in this procedure to completely remove the old installation before reinstalling the database.

  1. Deinstall the Standalone Client.

    Be sure the Standalone Client is deinstalled before attempting to deinstall the database. This should ensure that no EnterpriseOne tablespaces are imported (attached) to the EnterpriseOne database.

  2. Delete the following registry keys:

    \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_E1Local

    \HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\KEY_E1Local

    \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\(see Keys below)

    Keys. Delete any keys with names that start with "Oracle" and contain "E1Local".

  3. Delete this directory:

    c:\Oracle\E1Local

    If you cannot delete the E1Local subdirectory because a file in that directory is locked, follow these steps:

    1. Determine which file is locked and which process has the lock on the file. A freeware program called Process Explorer can be helpful in determining this information. You can obtain a free copy of Process Explorer from this web site:

      http://technet.microsoft.com/en-us/sysinternals

    2. Either kill the locking process with Process Explorer or Microsoft Windows Task Manager or, if the process was started as a Microsoft Windows service, change the Startup Type to Manual and reboot the computer again.

    3. Try again to delete the E1Local subdirectory.

  4. Remove the 64-bit Oracle inventory entries.

    1. With a text editor (such as Notepad), edit this file:

      c:\Program Files\Oracle\inventory\ContentsXML\inventory.xml

    2. Delete any lines that start with:

      <HOME NAME="E1Local"

    3. Save the file.

  5. Remove the entry from the Windows PATH.

    1. Navigate to Control Panel > System.

    2. Click Advanced system settings on the left.

    3. Click Environment Variables… near the bottom.

    4. In the System variables box near the bottom, highlight Path and click the Edit… button.

    5. In the Variable value field, delete this value:

      c:\Oracle\E1Local\bin

      Be sure to remove the semicolon as well.

    6. Click OK.

  6. Remove the ORACLE_HOME Windows environment variable.

    1. Navigate to Control Panel > System.

    2. Click Advanced system settings on the left.

    3. Click Environment Variables… near the bottom.

    4. In the System variables box near the bottom, highlight ORACLE_HOME and click Delete.

    5. Click OK.