Oracle database client silent installation without response file

March 6, 2015 by 6 Comments 

I’m often asked questions on Oracle database or client software installation in Silent Mode with using response file. I used to do it in the past but not anymore. The silent software installation with Oracle response file is still available but I found another handy option in Oracle 11g/12c of doing the same. The same silent installation can be done directly from the command prompt without using an Oracle response file but it requires a minimum set of variables (from the response file) as arguments to the Oracle Universal Installer (OUI) (i.e “runInstaller or setup.exe”).

I give a few tested examples below to install Oracle software in Silent mode without a response file:

Oracle Database 11.2 on Linux silent installation (Enterprise Edition Software Only)

cd /opt/oracle/stage/database
./runInstaller -silent -debug -force \
FROM_LOCATION=/opt/oracle/stage/database/stage/products.xml \
oracle.install.option=INSTALL_DB_SWONLY \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=/opt/oracle/oraInventory \
ORACLE_HOME=/opt/oracle/product/11.2.0/dbhome_1 \
ORACLE_BASE=/opt/oracle \
oracle.install.db.InstallEdition=EE \
oracle.install.db.isCustomInstall=false \
oracle.install.db.DBA_GROUP=dba \
oracle.install.db.OPER_GROUP=oper \
DECLINE_SECURITY_UPDATES=true

Oracle Database 12.1 on Linux silent installation (Enterprise Edition Software Only)

cd /opt/oracle/stage/database
./runInstaller -silent -debug -force \
FROM_LOCATION=/opt/oracle/stage/database/stage/products.xml \
oracle.install.option=INSTALL_DB_SWONLY \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=/opt/oracle/oraInventory \
ORACLE_HOME=/opt/oracle/product/12.1.0/dbhome_1 \
ORACLE_BASE=/opt/oracle \
oracle.install.db.InstallEdition=EE \
oracle.install.db.DBA_GROUP=dba \
oracle.install.db.OPER_GROUP=oper \
oracle.install.db.BACKUPDBA_GROUP=dba \
oracle.install.db.DGDBA_GROUP=dba \
oracle.install.db.KMDBA_GROUP=dba \
DECLINE_SECURITY_UPDATES=true

Oracle Client 11.2 on Windows silent installation (Install Type: Administrator)

cd C:\temp\win32_11gR2_client\client
.\setup.exe -silent -debug -force -waitforcompletion FROM_LOCATION=C:\temp\win32_11gR2_client\client\stage\products.xml oracle.install.client.installType=”Administrator” ORACLE_HOME=”C:\oracle\product\11.2.0\Client” ORACLE_HOME_NAME=”OraClient11g_Home1″ ORACLE_BASE=”C:\oracle” DECLINE_SECURITY_UPDATES=true

Note :

1) The following OUI options are not mandatory but can be used when required:
– force : Allows silent mode installation into a non-empty ORACLE_HOME directory.
– debug : Displays extra debug information from OUI. If you want less output just omit it.

2) The following OUI variables are not mandatory but can be used when required:
– ORACLE_HOME_NAME – if not used , OUI will assign the name automatically (OraClient11g_Home1, OraClient11g_Home2, .. OraClient12g_Home1, OraClient11g_Home2,..)

3) Following are new groups introduced in Oracle 12.1:
oracle.install.db.BACKUPDBA_GROUP=dba \
oracle.install.db.DGDBA_GROUP=dba \
oracle.install.db.KMDBA_GROUP=dba \

That was the Oracle database or client 11g, 12c software installation in Silent Mode without using response file. Please share your experience and other examples on the same in comments below.

Enjoyed this article? Please share it with others using the social site of your choice:

Comments

6 Responses to “Oracle database client silent installation without response file”
  1. Sudheer says:

    hI,
    is there a way to install only oralce 11g or 12c client(No database) on a centos machine. using command line only?
    above examples will install teh database? but i just want to install the oracle runtime client.
    Thanks

  2. Kirill Loifman says:

    should be possible using response file
    — Kirill

  3. Akim says:

    Hi Kirill,

    First and foremost, your blog has been very interesting and well documented.

    I will like your assistance on how to specify the global database name when you run the above commands for —Oracle Database 11.2 on Linux silent installation (Enterprise Edition Software Only)

    Also, I noticed you didn’t create a different oracle_home directory for the new installation?

    Thank you.

  4. Kirill Loifman says:

    >>Also, I noticed you didn’t create a different oracle_home directory for the new installation?
    The OUI will do it for you.
    — Kirill

  5. Florian says:

    Hi,

    i’m trying to install oracle client 12c 32bit on a Win10 build1703 and my installation fails with the following message:

    [WARNING] [INS-08109] Beim Bewerten der Eingaben bei Status ‘getWindowsSecureOptionDetails’ ist ein unerwarteter Fehler aufgetreten.
    URSACHE: Es stehen keine weiteren Informationen zur Verf³gung.
    AKTION: Wenden Sie sich an Oracle Support Services, oder konsultieren Sie die Softwaredokumentation.
    ▄BERBLICK:
    – java.lang.NullPointerException
    Ein Log dieser Session ist aktuell als C:\Users\ADM_SE~1\AppData\Local\Temp\OraInstall2017-07-26_10-17-28AM\installActions2017-07-26_10-17-28AM.log gespeichert. Wenn Sie dieses Log behalten m÷chten, empfiehlt Oracle, dass Sie es aus dem temporõren Verzeichnis in ein anderes Verzeichnis verschieben.

    Dr³cken Sie die Eingabetaste, um das Programm zu beenden…

    When i install the client in “GUI mode” it completes successfully.

    This is the command i use:
    setup.exe -silent -debug -force -nowait -ignoreSysPrereqs -waitforcompletion oracle.install.client.installType=”Administrator” ORACLE_HOME=C:\oracle\product\12.1.0\client_1 ORACLE_HOME_NAME=OraClient12c_Home1 ORACLE_BASE=C:\oracle DEC

    When i fire up this command on a Win7 machine it’s also completes the installation … the issue only occurs on Win10

    Any ideas? I came up with your installation method because the “normal” installation with a response crashes earlier (see https://community.oracle.com/thread/4042039 )

    You will be my hero if you find a solution .. 😉 Struggling with this now for days

  6. Kirill Loifman says:

    Can be different reasons. Try add this parameter:
    INSTALL_OPTION=ORA12C

Add a Comment

We welcome thoughtful and constructive comments from readers.
If you want your own picture to show with your comment?
Go get a Globally Recognized Avatar!

DBMS Blog Updates : Subscribe RSS RSS: Subscribe to Articles · Subscribe to Comments Subscribe RSS Receive site updates via email