Sie sind auf Seite 1von 3

Oracle Client 12C

Installation:

Silent installation is possible for this application.

For silent installation, we need to create a response file(. rsp) and then use that response file to install it
silently without any user interference.

Response File Creation:

Run the setup.exe and select the suite(admin or client or custom) which we want to install. In this case
we will be selecting the InstantClient suite as per the requirement.

Then we will have to set the ORACLE_HOME path where all the files and folders will get
installed.Screenshot below is provided for reference.
On clicking "Create Response file" and giving the path for saving rsp file, the response file will be created
at the given location. Copy the response file and keep it with the setup location.

Command to Install silently:

Setup.exe -responsefile "Path of. rsp file" -silent -noconsole -force

-responsefile : The installer will take reference from the responsefile.

-silent : For silent installation

-noconsole : It will hide the Oracle Universal Installer window.

-force : For reinstallation, it will install files in non-empty folder too.


Uninstallation:

Uninstallation for oracle 12C is handled through the deinstall.bat file which is installed in the installdir
during installation. On Successful installation of administration suite,deinstall folder will also get installed
in the installdir and it contains the deinstall.bat file which will be used for uninstallation.

We need to run the batch file(deinstall.bat) in admin mode and it will uninstall the product. For silent
uninstallation we have to use -silent switch along with the deinstall.bat file in cmd prompt.

But in this case(Oracle Client 12c),we have to handle the uninstallation differently,
as the deinstall folder will not get installed if we are installing the InstantClient suite.It will get installed
only when the full administration suite is installed.The way to handle silent installation is provided below.

Procedure for Uninstallation:

 Install the full administration suite once.


 Now we have to create a parameter file by using which we can trigger silent uninstallation for
the product.
 The parameter file will be created by using the following command:

Setup.exe -deinstall -home "Path of the ORACLE_HOME" -checkonly - o "Path of parameter

file to be saved"

 Now by using this parameter file we can uninstall the product silently by using the following
command in cmd prompt:

Setup.exe -deinstall -home "Path of the ORACLE_HOME" -paramfile "Path of the parameter

file" -silent

-paramfile :The installer will take reference from the paramfile.

-silent :For silent installation

Das könnte Ihnen auch gefallen