一、之前在百度了好多关于卸载oracle的帖子,说的都不是特别清楚,今天整理出来供大家参考
百度---》》http://jingyan.baidu.com/article/f7ff0bfc53526f2e26bb132d.html
我先按照上边的操作了一次之后重新安装oracle11g,出现各种问题,后来重复卸载安装还是不行,无奈都准备重装系统了。无意间打开注册表的时候发现还是有注册表和c盘的安装文件没有删干净,所以重装失败。
建议:先按照上贴所说的卸载之后再删注册表
二、下边是我删的一些注册表
[-HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE]
[-HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ODP.NET]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Oracle - OraClient11g_home1]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\eventlog\Application\Oracle.VSSWriter.CD]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\Oracle Services for MTS]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\Oracle.portal]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\OracleDBConsoleportal]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\OracleDBConsoleorcl]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\eventlog\Application\Oracle.VSSWriter.CD]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\Oracle Services for MTS]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\Oracle.portal]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\OracleDBConsoleportal]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\eventlog\Application\Oracle.cd]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\OracleDBConsoleorcl]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11\Performance]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11\Performance\KEY_OraDb11g_home1]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsolemain]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsolemain\Security]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsolemain\Enum]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsoleoracl]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsoleoracl\Security]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsoleoracl\Enum]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleJobSchedulerMAIN]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleJobSchedulerMAIN\Security]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleJobSchedulerORACL]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleJobSchedulerORACL\Security]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleMTSRecoveryService]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleMTSRecoveryService\Security]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleMTSRecoveryService\Enum]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleOraDb11g_home1ClrAgent]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleOraDb11g_home1ClrAgent\Security]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleOraDb11g_home1TNSListener]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleOraDb11g_home1TNSListener\Security]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleOraDb11g_home1TNSListener\Enum]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleRemExecService]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleRemExecService\Security]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleRemExecService\Enum]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceMAIN]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceMAIN\Security]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceMAIN\Enum]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceORACL]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceORACL\Security]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceORACL\Enum]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleVssWriterMAIN]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleVssWriterMAIN\Security]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleVssWriterMAIN\Enum]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleVssWriterORACL]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleVssWriterORACL\Security]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleVssWriterORACL\Enum]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Oracle Services for MTS]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Oracle.main]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Oracle.oracl]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Oracle.VSSWriter.MAIN]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Oracle.VSSWriter.ORACL]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\OracleDBConsolemain]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\OracleDBConsoleoracl]
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData]
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData\CurVer]
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData.1]
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData.1\CLSID]
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData]
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData\CurVer]
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData.1]
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData.1\CLSID]
[-HKEY_CLASSES_ROOT\ORCLMMC.About]
[-HKEY_CLASSES_ROOT\ORCLMMC.About\CLSID]
[-HKEY_CLASSES_ROOT\ORCLMMC.About.1]
[-HKEY_CLASSES_ROOT\ORCLMMC.About.1\CLSID]
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData]
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData\CurVer]
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData.1]
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData.1\CLSID]
[-HKEY_CLASSES_ROOT\OracleConfig.OracleConfig]
[-HKEY_CLASSES_ROOT\OracleConfig.OracleConfig\CurVer]
[-HKEY_CLASSES_ROOT\OracleConfig.OracleConfig.1]
[-HKEY_CLASSES_ROOT\OracleConfig.OracleConfig.1\CLSID]
[-HKEY_CLASSES_ROOT\OracleDatabase.OracleDatabase]
[-HKEY_CLASSES_ROOT\OracleDatabase.OracleDatabase\CurVer]
[-HKEY_CLASSES_ROOT\OracleDatabase.OracleDatabase.1]
[-HKEY_CLASSES_ROOT\OracleDatabase.OracleDatabase.1\CLSID]
[-HKEY_CLASSES_ROOT\OracleHome.OracleHome]
[-HKEY_CLASSES_ROOT\OracleHome.OracleHome\CurVer]
[-HKEY_CLASSES_ROOT\OracleHome.OracleHome.1]
[-HKEY_CLASSES_ROOT\OracleHome.OracleHome.1\CLSID]
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraServer]
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraServer\CLSID]
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraServer\CurVer]
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraServer.5]
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraServer.5\CLSID]
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession]
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession\CLSID]
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession\CurVer]
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession.5]
[-HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession.5\CLSID]
[-HKEY_CLASSES_ROOT\OracleProcess.OracleProcess]
[-HKEY_CLASSES_ROOT\OracleProcess.OracleProcess\CurVer]
[-HKEY_CLASSES_ROOT\OracleProcess.OracleProcess.1]
[-HKEY_CLASSES_ROOT\OracleProcess.OracleProcess.1\CLSID]
[-HKEY_CLASSES_ROOT\ORADC.ORADCCtrl.1]
[-HKEY_CLASSES_ROOT\ORADC.ORADCCtrl.1\CLSID]
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData]
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData\CurVer]
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData.1]
[-HKEY_CLASSES_ROOT\ORAMMCCFG11.ComponentData.1\CLSID]
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData]
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData\CurVer]
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData.1]
[-HKEY_CLASSES_ROOT\ORAMMCPMON11.ComponentData.1\CLSID]
[-HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup]
[-HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup\CLSID]
[-HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup\CurVer]
[-HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup.1]
[-HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup.1\CLSID]
[-HKEY_CLASSES_ROOT\OraOLEDB.Oracle]
[-HKEY_CLASSES_ROOT\OraOLEDB.Oracle\CLSID]
[-HKEY_CLASSES_ROOT\OraOLEDB.Oracle\CurVer]
[-HKEY_CLASSES_ROOT\OraOLEDB.Oracle.1]
[-HKEY_CLASSES_ROOT\OraOLEDB.Oracle.1\CLSID]
[-HKEY_CLASSES_ROOT\OraPerfMon.OraPerfMon]
[-HKEY_CLASSES_ROOT\OraPerfMon.OraPerfMon\CurVer]
[-HKEY_CLASSES_ROOT\OraPerfMon.OraPerfMon.1]
[-HKEY_CLASSES_ROOT\OraPerfMon.OraPerfMon.1\CLSID]
[-HKEY_CLASSES_ROOT\ORCLMMC.About]
[-HKEY_CLASSES_ROOT\ORCLMMC.About\CLSID]
[-HKEY_CLASSES_ROOT\ORCLMMC.About.1]
[-HKEY_CLASSES_ROOT\ORCLMMC.About.1\CLSID]
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData]
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData\CurVer]
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData.1]
[-HKEY_CLASSES_ROOT\ORCLSSO.ComponentData.1\CLSID]
[-HKEY_CLASSES_ROOT\EnumOraHomes.EnumOraHomes]
[-HKEY_CLASSES_ROOT\EnumOraHomes.EnumOraHomes\CurVer]
[-HKEY_CLASSES_ROOT\EnumOraHomes.EnumOraHomes.1]
[-HKEY_CLASSES_ROOT\EnumOraHomes.EnumOraHomes.1\CLSID]
三、将以上所有的注册信息都删了之后还要删除c盘中产生的安装文件(本人选择搜索ora,将筛选出来是oracle的文件全部删掉)
删掉之后记得同时删除安装时配置的oracle—home.......等环境变量。
以上都完成之后再重启电脑,重启之后建议断网安装。
安装参照http://www.cnblogs.com/qfb620/p/4577255.html
如果出现下图所示,直接全部忽略即可,本人就是检查全部不通过,忽略之后可以正常安装使用。