This discussion is archived
9 Replies Latest reply: Jan 22, 2013 4:17 AM by 986367 RSS

Uninstall Oracle client 11gR2

ANNEC Newbie
Currently Being Moderated
We need to install oracle client on a windows 2008 64 bits server.
Because for some of our miscrosoft integration service SSIS packages we have to run 32 bits.

SO I installed Oracle client 11g R2 32 bits for windows on the server.

I found some components are not installed, so I need to uninstall the client and reinstall it.

But by using universal installer, when clicking deinstall it says to run command ... to unintall it. Why...

Then in the directory of deinstall, I double click the deinstall.bat, it runs quickly and I didn't see oracle client is uninstalled.

Then following the instruction on the http://heliosguneserol.wordpress.com/2010/10/27/how-to-remove-oracle-11gr2-on-windows-7, it is windows 7, but I think it is the same.

I download the utility, and run the command, when I run this:
D:\win32_11gR2_deinstall\deinstall>set ORACLE_HOME=D:\Oracle11g\product\11.2.0\client_1
D:\win32_11gR2_deinstall\deinstall>deinstall -home D:\Oracle11g\product\11.2.0\client_1
The system cannot find the path specified.

But the path is there in windows direcotry,

what I am doing wrong?
How come 11g client is so hard to uninstall, but 10 g is so easy?


More information may help to trouble shoot:
Prior I download the the standalone version of deinstall , I tried the deinstall tool with the origianal oracle installation.
it gives error when I run the destinall,
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>d:

D:\>cd Oracle11g\product\11.2.0\client_1\deinstall

D:\Oracle11g\product\11.2.0\client_1\deinstall>
D:\Oracle11g\product\11.2.0\client_1\deinstall>deinstall.bat
Checking for required files and bootstrapping ...
Please wait ...
ERROR: Cannot find the file jlib\emca.jar in the ORACLE_HOME D:\Oracle11g\produc
t\11.2.0\client_1. You must download the standalone version of the deinstall to
ol from OTN to deconfigure/deinstall this Oracle Home.
cannot remove directory for C:\Users\xicao\AppData\Local\Temp\OraDeinstall2012-0
3-13_15-19-35: Permission denied at D:\Oracle11g\product\11.2.0\client_1\deinsta
ll\bootstrap.pl line 179
1 file(s) copied.
1 file(s) copied.
The system cannot find the path specified.
1 dir(s) moved.

D:\Oracle11g\product\11.2.0\client_1\deinstall>


Thanks

Edited by: 875563 on Mar 13, 2012 3:24 PM
  • 1. Re: Uninstall Oracle client 11gR2
    Lubiez Jean-Valentin Guru
    Currently Being Moderated
    Hello,

    I found some components are not installed, so I need to uninstall the client and reinstall it.
    I'd like to know why it was not possible to make a custom installation with OUI and, then select the components you need.

    Normally, you can run OUI every time you want so as to add all the necessary components over an existing installation.

    For instance you can make a 1st installation with the "runtime" option, then in a 2nd installation add "Oracle ODBC Driver" component.

    Else you'll find here the documentation about the deinstall tool:

    http://docs.oracle.com/cd/E11882_01/install.112/e24187/deinstall.htm#BABHIGFE


    Hope this help.
    Best regards,
    Jean-Valentin
  • 2. Re: Uninstall Oracle client 11gR2
    ANNEC Newbie
    Currently Being Moderated
    Thanks ,now I realized I can add new components to the same oralce home .

    But it is too late.

    Now I would completely remove oracle client, and reinstall it.

    So it goes back to my original post, how can I unistall it, I did download the deinstall utility, but it keeps giving me error cannot find specified path.

    See my original post,

    Thanks

    Edited by: 875563 on Mar 13, 2012 4:43 PM
  • 3. Re: Uninstall Oracle client 11gR2
    Srini Chavali-Oracle Oracle ACE Director
    Currently Being Moderated
    Execute the deinstall.bat command from the directory in which this file exists.

    HTH
    Srini
  • 4. Re: Uninstall Oracle client 11gR2
    ANNEC Newbie
    Currently Being Moderated
    Thanks, but the problem is I don't know what file it cannot find:

    I used the following

    D:\win32_11gR2_deinstall>cd deinstall

    D:\win32_11gR2_deinstall\deinstall>set ORACLE_HOME=D:\Oracle11g\product\11.2.0\client_1


    D:\win32_11gR2_deinstall\deinstall>deinstall -home D:\Oracle11g\product\11.2.0\client_1
    The system cannot find the path specified.

    The path D:\Oracle11g\product\11.2.0\client_1 is there.


    Thanks
  • 5. Re: Uninstall Oracle client 11gR2
    Srini Chavali-Oracle Oracle ACE Director
    Currently Being Moderated
    Pl confirm you are following all of the steps per the docs - http://docs.oracle.com/cd/E11882_01/install.112/e24187/deinstall.htm

    HTH
    Srini
  • 6. Re: Uninstall Oracle client 11gR2
    ANNEC Newbie
    Currently Being Moderated
    Yes, I use the deinstall -home paratmeter,

    I don't know what I am doing wrong, please help.

    Why uninstall Oracle client 11g is so harder than 10g, and I don't want to edit registry on windows to manually uninstall.

    It could ruin my whole windows os installation.

    Also if it cannot be installed, can I install another oracle home directory, for example client_2, and let my application connection use client 2 instead of client_1.

    How can I do that?

    Edited by: 875563 on Mar 13, 2012 6:10 PM

    Edited by: 875563 on Mar 13, 2012 6:12 PM
  • 7. Re: Uninstall Oracle client 11gR2
    Helios-GunesEROL Oracle ACE
    Currently Being Moderated
    Hi;

    Did you check below note:
    Removing Oracle Database Client Software
    http://docs.oracle.com/cd/B28359_01/install.111/b32007/deinstall.htm

    Also see:
    Re: how to uninstall client software(oracle)

    Regard
    Helios
  • 8. Re: Uninstall Oracle client 11gR2
    ANNEC Newbie
    Currently Being Moderated
    Thanks, in the link the documentation says unistall first using universal installer, but when I click deinstall button in Universal installer, it says to run command line deinstall to uninstall, so that means Universal Installer no longer deinstall for 11gR2.


    I tried the destall.bat in oracle home directory, also download deinstall standalone utility, no luck either.
  • 9. Re: Uninstall Oracle client 11gR2
    986367 Newbie
    Currently Being Moderated
    Make sure you run the deinstall.bat script from an elevated command prompt. This worked for me.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points