Silent uninstalling the Oracle client on WIN7
Environment:
WIN 7 + 11.2.0 Client
ORACLE_HOMED: \ app \ toshba \ product \ 11.2.0 \ client_1
The process of silently detaching a client is as follows:
Command:
set ORACLE_HOME=d:\app\toshiba\product\11.2.0\client_1cd %ORACLE_HOME%\deinstall
You can obtain a parameter file through checkonly. Later, you can use this file to uninstall the client in silent mode. Because the file is in the deinstall path, you do not need to include-home. The command is as follows: deinstall-checkonly
D: \ app \ toshba \ product \ 11.2.0 \ client_1 \ deinstall> deinstall. bat-checkonlyChecking for required files and bootstrapping... please wait... 14 files have been copied, 797 files have been copied, and 1 file has been copied. 1 file has been copied. Location of logs C: \ Users \ ADMINI ~ 1 \ AppData \ Local \ Temp \ OraDeinstall-Thursday-_ 23-46-34 \ logs ############ oracle deinstall & deconfig tool start ##### ############################## check operation start ###### ################# install and check the configuration to check whether the Oracle main directory exists. D: \ app \ toshba \ product \ 11.2.0 \ client_1 select the Oracle main directory type for uninstallation: CLIENT select the Oracle base directory for uninstallation: D: \ app \ toshba check whether the main product list has C: \ Program Files (x86) \ Oracle \ Inventory Installation check configuration end check Windows and. NET Product Configuration Windows and. NET will be removed from the Oracle main directory configuration: asp.net, odp.net, ntoledb, oo4o check Windows and. NET Product Configuration end network configuration Check Configuration start network cancel configuration tracking File Location: C: \ Users \ ADMINI ~ 1 \ AppData \ Local \ Temp \ OraDeinstall-Thursday-_ 23-46-34 \ logs \ netdc_check6625054758888497356.log: ######################### check operation end ############ #################################### check operation summary # ###################### select the Oracle Home Directory for uninstallation as follows: d: \ app \ toshba \ product \ 11.2.0 \ client_1Oracle the product list registered in the main directory is located in: C: \ Program Files (x86) \ Oracle \ Inventory Windows and.. NET Oracle main directory unconfiguration: asp.net, odp.net, ntoledb, oo4o will unconfigure the following single-instance LISTENER: LISTENER logs of this session will be written into: 'C: \ Users \ ADMINI ~ 1 \ AppData \ Local \ Temp \ OraDeinstall-Thursday-_ 23-46-34 \ logs \ deinstall_deconfig2015-02-05_11-47-50-PM.out 'any error messages for this session will be written to: 'C: \ Users \ ADMINI ~ 1 \ AppData \ Local \ Temp \ OraDeinstall-Thursday-_ 23-46-34 \ logs \ deinstall_deconfig2015-02-05_11-47-50-PM.err '############ oracle deinstall & deconfig tool end ## ########## move one directory. Moved one directory. Moved one directory.
In this way, the parameter file is successfully generated.
It is usually in the directory % temp % OraDeinstall-Date-Numbers \ response. For example, in C: \ Users \ Administrator \ AppData \ Local \ Temp \ OraDeinstall-thurss-23-46-34 \ response
The following uses the silent mode to uninstall the client:
D: \ app \ toshba \ product \ 11.2.0 \ client_1 \ deinstall> deinstall-silent-paramfile "C: \ Users \ Administrator \ AppData \ Local \ Temp \ OraDeinstall-Thursday-_ 23-46-34 \ response \ deinstall_appslient11g_home1.rsp "Checking for required files and bootstrapping... please wait ...... (Omitted) Oracle Universal Installer cleanup is completed, but an error occurs. Oracle Universal Installer purge end Oracle Installation purge start Oracle Installation purge end default attribute file C: \ Users \ Administrator \ AppData \ Local \ Temp \ OraDeinstall-Friday-_ 0-28-59 \ response \ deinstall_1_lient11g_home1.rsp as C: \ Users \ Administrator \ AppData \ Local \ Temp \ OraDeinstall-Friday-_ 0-28-59 \ response \ deinstall_1_lient11g_home1.rsp0 mobile ################## ####### clean operation end ############################## ################## CLEAN OPERATION SUMMARY ###################### the configuration of the following single-instance listener has been canceled successfully: LISTENERRemoved asp.net configurationRemoved odp.net configurationRemoved ntoledb configurationRemoved oo4o configuration has been successfully detached from the main product list on the local node from the Oracle Home Directory 'd: \ app \ toshba \ product \ 11.2.0 \ client_1 '. The directory 'd: \ app \ toshba \ product \ 11.2.0 \ client_1 'on the local node cannot be deleted '. The directory 'C: \ ProgramData \ Microsoft \ Windows \ Start Menu \ Programs \ Oracle-export lient11g_home1' on the local node has been deleted successfully '. You have successfully deleted the oracle Home directory from the PATH variable on the local node 'd: \ app \ toshba \ product \ 11.2.0 \ client_1 '. The directory 'C: \ Program Files (x86) \ Oracle \ Inventory 'on the local node has been deleted successfully '. The directory 'C: \ Program Files (x86) \ Oracle 'on the local node has been deleted successfully '. You have successfully deleted the registry key 'HKEY _ LOCAL_MACHINE \ Software \ Oracle \ inst_loc 'on the local node '. You cannot delete the directory 'd: \ app \ toshanghai' on the local node '. Oracle Universal Installer cleanup is completed, but an error occurs. The Oracle installer has successfully cleared the temporary directory. ######################################## ######################################## #### Oracle deinstall & deconfig tool end ############# move one directory. Moved one directory. Moved one directory. D: \ app \ toshba \ product \ 11.2.0 \ client_1 \ deinstall>
Tip: Some directories are being opened during uninstallation (at least deinstall directories are under ORACLE_HOME), so these directories cannot be deleted (see the preceding prompt ), delete the file manually.
The same procedure can be used to uninstall an Oracle database.