C 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. These steps apply to either 11gR2 or 10g releases of the OEE database.

  1. Deinstall the Development Client.

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

  2. Stop the database services from Control Panel:

    • OracleE1LocalTNSListener

    • OracleServiceE1LOCAL

  3. Be sure no Oracle processes from the c:\Oracle\E1Local directory are running.

  4. Delete the following registry keys:

    Both 32-bit and 64-bit Versions of Windows

    \HKEY_LOCAL_MACHINE\SOFTWARE\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" (on both 32- and 64-bit versions of Windows).

    64-bit Versions of Windows

    \HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\KEY_E1Local

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

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

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

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