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.
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.
Stop the database services from Control Panel:
OracleE1LocalTNSListener
OracleServiceE1LOCAL
Be sure no Oracle processes from the c:\Oracle\E1Local
directory are running.
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
Delete this directory:
c:\Oracle\E1Local
If you cannot delete the E1Local subdirectory because a file in that directory is locked, follow these steps:
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:
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.
Try again to delete the E1Local subdirectory.
Remove the Oracle inventory entries.
With a text editor (such as Notepad), edit this file:
c:\Program Files\Oracle\inventory\ContentsXML\inventory.xml
Delete any lines that start with:
<HOME NAME="E1Local"
Save the file.
Remove the entry from the Windows PATH.
Navigate to Control Panel > System.
Click Advanced system settings on the left.
Click Environment Variables… near the bottom.
In the System variables box near the bottom, highlight Path and click the Edit… button.
In the Variable value field, delete this value:
c:\Oracle\E1Local\bin
Be sure to remove the semicolon as well.
Click OK.
Remove the ORACLE_HOME Windows environment variable.
Navigate to Control Panel > System.
Click Advanced system settings on the left.
Click Environment Variables… near the bottom.
In the System variables box near the bottom, highlight ORACLE_HOME and click Delete.
Click OK.