Hi,
this is my first time i need to package the Oracle Client. Installation works like a charm with a response file but i've got problems with uninstalling Oracle.

This is what I've tried:
setup.exe" -deinstall -removeallfiles -nowarningonremovefiles -silent -force -waitforcompletion -nowait -responseFile <pathtoresponsefile>
When I try this command line the log file says that the -deinstall switch is not supported. Also when i use setup.exe -help there is no -deinstall switch listed. But it seems like this switch has worked for many others.

I've also tried to use the deinstall.bat from the Oracle base dir but it says that i need to uninstall Oracle with a standlalone uninstall tool which I cannot find anywhere on the Oracle page.

Does anyone have further suggestions what I could try to uninstall Oracle 11g?

KR
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Do I recall reading that the switches are case-sensitive, e.g. -deInstall or -Deinstall?
Answered 07/13/2011 by: VBScab
Red Belt

Please log in to comment
0
In some thread here I've read that only the -responseFile (from the ones which i use)
switch is case sensitive and many examples which I've seen also showed the deinstall
switch as "-deinstall" but im gonna give it a try.

thanks for the hint

edit:
unfortunately it didnt work. im still getting a message that the switch is not valid
Answered 07/13/2011 by: Teitan
Senior Purple Belt

Please log in to comment
0
You could open the installer EXE in a decent text editor (i.e. anything not called 'Notepad'...) and search for the 'deinstall' text. It's a fair bet that, if any part is capitalised, that you should use the exact case for the switch.
Answered 07/13/2011 by: VBScab
Red Belt

Please log in to comment
0
I'm using Notepad++ with Hex plugin that should do it
But sadly I've got no luck again...neither I can find the text in the setup.exe nor in the oui.exe (with which i've also tried the installation by the way)
Answered 07/13/2011 by: Teitan
Senior Purple Belt

Please log in to comment
2
Did you look in the SETUP.EXE that the first SETUP.EXE calls? :-)
Answered 07/14/2011 by: VBScab
Red Belt

Please log in to comment
0
If you mean the setup.exe which calls the oui.exe then - yes.
I think im going to delete all the folders and reg keys by script.
Thank you anyway Ian!

It seems like oracle must hate software packagers for some reason :D
Answered 07/14/2011 by: Teitan
Senior Purple Belt

Please log in to comment
0
No, it's simply that their Universal Installer is just that - a universal installer. It's written in Java and can be run across a bunch of platforms.
Answered 07/14/2011 by: VBScab
Red Belt

Please log in to comment
0
I recently packaged Oracle 10g and it appears the switches haven't changed that much if at all between the two versions. As far as the switches being case sensitive, the only one that was not lowercase was the -responseFile. Could it be the order you set the switches? It probably makes no difference but below is the order I used when running my uninstall of Oracle10g.

unc\setup.exe -deinstall -silent -noconsole -force -removeallfiles -responseFile unc\file.rsp
Answered 07/14/2011 by: Helpy
Senior Yellow Belt

Please log in to comment
2
If I recall what worked for me:
1. You need to have a deinstall response file: (deinstall.rsp), which you can put into %TEMP%
2. Go to the folder 'deinstall' in your base oracle directory.
3. Run the below command
deinstall -home <Your ORACLE_HOME directory> -paramfile %TEMP%\deinstall.rsp
Answered 07/14/2011 by: SandeepPanat
Orange Senior Belt

Please log in to comment
0
That would have been a good hint but I've already created a working deinstall script for Oracle.
Thank you anyways SandeepPanat
Answered 07/14/2011 by: Teitan
Senior Purple Belt

Please log in to comment
0
No they just hate windows...so they won't create a windows installer installation
Answered 02/01/2012 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity