7.3.3.2 Running the Deinstallation Tool Interactively From the Installer
You can run the deinstallation tool from an Oracle home or from the software installation media.
Example 7-2 Running the Deinstallation Tool from the Software Installation Media
If you run the deinstallation tool from the installer in the installation media, then when the deinstall.bat
command runs, it uses the information you provide to determine the system configuration and then provides default values at each prompt. You can either accept the default value, or override it with a different value. If the software in the specified Oracle home is not running (for example, after an unsuccessful install attempt), then the deinstallation tool cannot determine the configuration, and you must provide all the configuration details either interactively or in a response file.
For example, to remove the Oracle Database home dbhome_1
using the deinstallation tool started from the installer, use commands similar to the following while logged in as a member of the Administrator group, where directory_path is the path to the database directory on the installation media:
C:\> cd directory_path
C:\..database> setup.exe -deinstall -home C:\app\oracle\product\12.2.0\db_home1\
Provide additional information as prompted.
Note:
When using the deinstallation tool from a location other than within the Oracle home being removed, you must specify the-home
option on the command line.