Friday, 30 September 2016

SOA 11g - Uninstall OracleXE

SOA 11g - Uninstall OracleXE

You may see problems with installing XE when you already have 10g installed on Windows. The Windows registry sometimes gets the database file locations confused. If you need to uninstall a database, you should follow the instructions.
If you need to uninstall XE, be sure to follow these instructions
1. Deinstalling the Oracle Database XE Software
To deinstall Oracle Database XE by using Add or Remove Programs:
1.            In the Windows Control Panel, select Add or Remove Programs.
2.            Select Oracle Database 10g Express Edition.
3.            Click Change/Remove.
4.            In the Oracle Database 10g Express Edition - Install Wizard, select Remove, click Next, and then click Yes in the confirmation window. When the deinstallation completes, click Finish.
To perform a silent deinstallation of Oracle Database XE:
1.            Log on to Windows with Windows administrative privileges.
2.            Go to the following Web site: http://www.oracle.com/technology/products/database/xe
3.            Click Free Download and follow the instructions to select and download the Microsoft Windows version of Oracle Database XE.
The installation executable, OracleXE.exe, comes with a set of response files that you can use to perform silent installations, repairs (upgrades), and deinstallations.
4.            Run the OracleXE.exe executable with the OracleXERemove.iss response file.
For example, if you downloaded the OracleXE.exe executable and its response files to a directory called xe_temp, you would enter the following command to deinstall Oracle Database XE Server:
c:\xe_temp> OracleXE.exe /s /f1"c:\xe_temp\response\OracleXE-Remove.iss" /f2"c:\xe_temp\setup.log"
To deinstall Oracle Database XE Client, you would enter:
c:\xe_temp> OracleXE.exe /s /f1"c:\xe_temp\response\OracleXEClient-Remove.iss" /f2"c:\xe_temp\setup.log"
The setup.log file indicates whether the deinstallation was successful. A result code of 0 means the deinstallation succeeded.
2. Manually Removing Oracle Database XE
If the deinstallation is interrupted, follow these steps to manually remove Oracle Database XE from your computer:
·                     Step 1: Stop the Oracle Database XE Services
·                     Step 2: Remove the Oracle Database XE Registry Editor Settings
·                     Step 3: Update the System Variable Path
·                     Step 4: Remove Oracle Database XE from the Start Menu and Desktop
·                     Step 5: Remove the Oracle Database XE Directories
·                     Step 6: Install and Run the Windows Installer CleanUp Utility
2.1 Step 1: Stop the Oracle Database XE Services
Follow these steps:
1.            Open the Windows Services utility: From the Start menu, select All Programs, then Administrative Tools, and then Services.
2.            If any of the following Oracle services exist and have the status Started, then select each of the services, and click Stop:
o        OracleXE
o        OracleXETNSListener
o        OracleJobSchedulerXE
o        OracleXEClrAgent
o        OracleMTSRecoveryService
3.            Exit Services.
See also the Microsoft online help for more information on stopping services.
2.2 Step 2: Remove the Oracle Database XE Registry Editor Settings
Follow these steps:
1.            Log on to Windows with Windows administrative privileges.
2.            Ensure that you followed the instructions under "Step 1: Stop the Oracle Database XE Services" to stop the Oracle Database XE services.
3.            Start the Registry Editor at a command prompt:
4.            SYSTEM_DRIVE:\> regedit
5.            Go to HKEY_CLASSES_ROOT.
6.            Delete the following keys:
o        NEED TO CONFIRM THE XE-SPECIFIC ONES.
7.            Go to HKEY_CURRENT_USER\Software.
8.            Under Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs, delete the Oracle Database 10g Express Edition key.
9.            Go to HKEY_LOCAL_MACHINE\SOFTWARE and search for the ORACLE group key.
10.          Expand the ORACLE group key and then delete the KEY_XE and OracleMTSRecoveryService keys.
11.          Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI.
12.          Expand the ODBCINST.INI key and remove the Oracle in XE key.
13.          Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
14.          Delete the following keys:
o        OracleServiceXE
o        OracleXEClrAgent
o        OracleXETNSListener
15.          Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application.
16.          Delete the Oracle.xe key.
17.          Exit the Registry Editor.

18.          Restart your computer.

No comments:

Post a Comment