12/14/2009 6786 views
Hi, I´m trying to create a package for Oracle 11.1, works great using the OUI to create a answer file (.rsp)

The problem is uninstalling - if uninstalling silently using -deinstall it does not remove my ORACLE_HOME.

And YES i have set the variable REMOVE_HOMES, tried -removeallfiles and all command line options I can find on Internet :-)

The only solution I´ve found is to run the OUI manually and check the box remove empty homes or if I do this manually it also remove the homes - HELP!

this is the log file from the manually uninstall using the OUI GUI
INFO: The following products will be deinstalled:
INFO: Homes to be removed
INFO: C:\oracle\product\11.1.0\client_1 (OraClient11g_home1)
INFO: This is a shared oracle home or remote nodes are null. No copy required.
INFO: Setting variable 'CLUSTER_NODES' to '. Received the value from a code block.
INFO: Setting variable 'REMOTE_NODES' to '. Received the value from a code block.
INFO: Detaching the home
INFO: Removed the home by force, so setting the Comps vector to empty , to ensure that the inventory is updated with correct information
INFO: Saving the install inventory which has the access of 1
INFO: Saving a backup of central inventory.
INFO: The flags set for this home (C:\oracle\product\11.1.0\client_1) are:nodelist|removed
INFO: Home:C:\oracle\product\11.1.0\client_1 oraclehomeproperties.xml is not saved because the flags indicate no changes to this file.
INFO: Updating XML inventory.
INFO: Current Inventory:
INFO: This deinstallation was successful
0 Comments   [ + ] Show comments


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

All Answers

This will be my solution:

path to setup.exe -setup.exe -deinstall -silent -noconsole -waitforcompletion -responseFile path to rsp file.rsp

DEL "c:\Program files\oracle" /F /S /Q
RD "c:\Program files\oracle" /F /S /Q
DEL "c:\oracle" /F /S /Q
RD "c:\oracle" /S /Q
Answered 12/14/2009 by: fetgor
Senior Purple Belt