Oracle Patchset Silent Install without response file

October 1, 2009  |  dba, linux

Sometimes, Oracle patchset silent installation is done with a “Response File” (patchset.rsp) supplied with the patchset software. The process is documented in the README for each patchset.

What is sometimes unknown is that the same silent patchset installation can be done directly from the command prompt without response file, by using a minimum set of variables (from response file) as arguments to the OUI (i.e “runInstaller” or “setup.exe”).

For example on Linux and on patchet 10.2.0.4, following command can be used to install Oracle Database Patchset software in silent mode:

[root@app ~]# su – oracle
[oracle@app ~]$ cd /soft/db10g/patch10204/Disk1
[oracle@app Disk1]$
[oracle@app Disk1]$ ./runInstaller -silent -force -debug \
FROM_LOCATION=”/soft/db10g/patch10204/Disk1/stage/products.xml” \
ORACLE_HOME=”/opt/oracle/product/10.2.0/db_1″ \
ORACLE_HOME_NAME=”OraDb10g_home1″ \
TOPLEVEL_COMPONENT='{“oracle.patchset.db”,”10.2.0.4.0″}’

We just need to specify the products.xml location from the patchset directory, the ORACLE_HOME path and the ORACLE_HOME name.

We can also do it on windows like this:

C:> cd c:\soft\db10g\patch10204\Disk1
C:> setup.exe -silent -force -debug FROM_LOCATION=”c:\soft\db10g\patch10204\Disk1\stage\products.xml” ORACLE_HOME=”C:\app\oracle\product\10.2.0\db_1″ ORACLE_HOME_NAME=”OraDb10g_home1″ TOPLEVEL_COMPONENT={“oracle.patchset.db”,”10.2.0.4.0″}

Hope it helps someone with problems running the patchset GUI installer…


Leave a Reply