Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> REPOST: Re: Reinstall fails on W2K
Here's an article from Oracle on the proper procedure for uninstalling
Oracle software from Windows that appeared in this ng a little while back.
Probably an incomplete uninstallation is causing your installation pains.
HTH,
Simon Gottesman
Doc ID: Note:124353.1
Subject: WIN: Manually Removing all Oracle Components on
Microsoft Windows Platforms
Type: BULLETIN
Status: PUBLISHED
Content Type: TEXT/PLAIN
Creation Date: 13-NOV-2000
Last Revision Date: 04-AUG-2001
PURPOSE
This article describes the procedure how to manually perform the actions to create a "clean machine" on Microsoft Windows 95/98/NT/2000 and how to manually remove all Oracle components (e.g.: oracle RDBMS database server, IAS, OEM, client installations, etc) and services from your computer.
SCOPE & APPLICATION
This article is intended for DBA's on the Microsoft Windows platform.
WARNING:
MANUALLY REMOVING ALL ORACLE COMPONENTS AND SERVICES FROM YOUR COMPUTER
2.b. If any Oracle services (their names begin with Oracle) exist and have
the status Started, select the service and click Stop.
2.c. Click Close to exit the Services window.
2.d. Close the Control Panel/Computer Management window.
3. Remove the entries in the Windows registry:
Choose Start > Run > regedt32
3.b. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
Note the value of the key INST_LOC, this is the location of the Oracle Universal Installer. The default location is C:\Program Files\Oracle\Inventory. If this value is different, make note of it, so we can delete these files later.
Delete this ORACLE key.
3.c. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC and expand all subkeys and remove all keys under here which are related with the "Oracle ODBC Driver"
3.d. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and remove all keys under here that begin with ORACLE or ORAWEB.
3.e. Go to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLo
g\...\Application and remove all keys under here that begin with ORACLE.
3.f. Go to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion \Uninstall and remove any entries related to Oracle.
3.g. Go to HKEY_CLASSES_ROOT, remove all keys that begin with Oracle, OraPerf or OraOLEDB
3.h. Close the registry.
4. Clean up the environment settings:
2000: Choose Start > Settings > Control Panel > System> Advanced tab > Environment variables. 4.b. At "System Variables" click on the variable PATH in order to modify the value. For example, you may see a path similar to this one: C:\ORACLE\ORA81\BIN;C:\PROGRAMFILES\ORACLE\JRE\1.1.7\BIN
4.c. If an %ORACLE_HOME% was installed, remove this %ORACLE_HOME%\BIN path.
4.d. If JRE was installed by Oracle, remove the JRE path.
4.e. If there is a CLASSPATH variable under "System Variables", first make note
of the path defined, then delete it. This variable can be added back at
a later date if needed.
4.f. Check if there are any other Oracle variables set in "System Variables",
ORACLE_HOME, ORACLE_SID or TNS_ADMIN. If these exist, delete them also.
4.g. Click on APPLY and OK.
4.h. Close the Control Panel window.
5. Delete the software and icons:
2000: Choose Start > Programs > Accessories > Windows NT Explorer.
5.b. NT: Go to SYSTEM_DRIVE:\WINNT\PROFILES\ALL USERS\START
MENU\PROGRAMS
2000: Go to SYSTEM_DRIVE:\DOCUMENTS AND SETTINGS\ALL
USERS\START MENU\PROGRAMS
(Note: These locations depend on whether OS was upgraded from NT,
or this was a fresh install of 2000)
and delete the following icons: - Oracle - HOME_NAME where HOME_NAME is the previous Oracle home name. - Oracle Installation Products
5.c. Go to SYSTEM_DRIVE:\Program Files\Oracle or the location of INST_LOC as noted earlier in step 3.b and delete this directory.
5.d Go to SYSTEM_DRIVE:\Temp and delete all files and directories in here.
5.e. Go to the drive where the Oracle software is installed on your machine
and delete all ORACLE_BASE directories on your hard drive.
5.f. Close the Windows NT Explorer.
6. Finish the removal:
Right click on recycle bin > Empty Recycle Bin.
6.b. Reboot your computer.
B. Removing Components on Windows 95 or Windows 98.
Note the value of the key INST_LOC, this is the location of the Oracle Universal Installer. The default location is C:\Program Files\Oracle\Inventory. If this value is different, make note of it, so we can delete these files later.
Delete this ORACLE key.
1.c. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC and expand all subkeys and remove all keys under here which are related with the"Oracle ODBC Driver".
1.d. Go to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion
\Uninstall and remove any entries related to Oracle.
1.e. Go to HKEY_CLASSES_ROOT, remove all keys that begin with Oracle, OraPerf or OraOLEDB.
1.f. Close the registry.
2. Clean up the environment settings:
For example, you may see a path similar to this one: C:\ORACLE\ORA81\BIN;G:\PROGRAM
2.c. If there is a CLASSPATH variable under "System Variables", first make note
of the path defined, then delete it. This variable can be added back at
a later date if needed.
2.d. If JRE was installed by Oracle, remove the JRE path.
2.e. Save the AUTOEXEC.BAT file and close the edit.
3. Delete the software and icons:
3.b. Go to SYSTEM_DRIVE:\WINDOWS\START MENU\PROGRAMS
and delete the following icons: - Oracle - HOME_NAME where HOME_NAME is the previous Oracle home name. - Oracle Installation Products
3.c. Go to SYSTEM_DRIVE:\Program Files\Oracle or the location of INST_LOC as noted earlier in step 1.b and delete this directory.
3.d Go to SYSTEM_DRIVE:\Temp and delete all files and directories in here.
3.e. Go to the drive where the Oracle software is installed on your machine
and delete all ORACLE_BASE directories on your hard drive.
3.f. Remove any Oracle-related .INI files that may exist in the Windows
directory. The Windows may be found by entering "echo %WINDIR%" from a command prompt. Typical Oracle .INI files include ORADIM73.INI,ORADIM80.INI, ORACLE.INI, ORAODBC.INI 3.g. Close the Windows Explorer.
4. Finish the removal:
Right click on recycle bin > Empty Recycle Bin
4.b. Reboot your computer.
RELATED DOCUMENTS
Oracle Installation Guides for Windows.
SEARCH WORDS
WIN95, WIN98, WINNT, WIN2000, Windows95, Windows98, WindowsNT, Windows2000, de-install, deinstall, re-install, reinstall .
Copyright (c) 1995,2000 Oracle Corporation. All Rights Reserved. Legal Notices and Terms of Use.
"Andy Kent" <andykent.bristol.DontSpamMe_at_virgin.net> wrote in message news:vhH48.31202$Ph2.5381323_at_news2-win.server.ntlworld.com...
> Thanks for such a quick reply! > > Unfortunately I can't run ORADIM as it's all been uninstalled. There is no > evidence of any services, and I've tried removing anything beginning 'Ora' > from the registry. The old datafiles are still on the system though, but I > can't imagine having these there would cause it to barf - would it...? > > -Andy- > > "Daniel A. Morgan" <damorgan_at_exxesolutions.com> wrote in message > news:3C52CD18.1F99BB50_at_exxesolutions.com... > > -- one possible solution. > > > > Start of using ORADIM to drop the services. > > > > Then reboot. > > > > Then drop the database. > > > > Then clean out the registry. > > > > Then reboot. > > > > Then reinstall. > > > > Daniel Morgan > > > > > > > > Andy Kent wrote: > > > > > I'm trying to reinstall Oracle 8i Enterprise Edition to a different > drive > > > on a test W2K box. > > > I've run the uninstall script but now the installation doesn't work.If
> > > Utility") then just disappears from the screen. If I try installing it > to > > > the C: drive, it gets 4% through and then the same thing happens. In > neither > > > case had it copied anything to the installation directory. > > > > > > What's going on? > > > > > > -- > > > -Andy Kent- > > > Bristol, England > > > > > > Remove '.DontSpamMe' from return address to respond by email. > > > >
This message was cancelled from within The Unacanceller's glorious new software, Lotus 1-2-3 For Rogue Cancellers. Received on Sat Jan 26 2002 - 21:51:57 CST