Oracle Database 21c Client Silent Install (How-To Guide)

The Oracle Database Client is an application that communicates with and requests information from an Oracle database server. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of the Oracle Database 21c Client from the command line using the EXE installer.

How to Install the Oracle Database 21c Client Silently

Oracle Database 21c Client Silent Install (32-bit)

  1. Navigate to: https://www.oracle.com/database/technologies/oracle21c-windows-downloads.html
  2. Select the Oracle Database 21c Client for Microsoft Windows (32-bit)
  3. Download the zip file to a folder created at (C:\Downloads)
  4. Extract the contents of the zip file using 7-Zip to C:\Downloads\Oracle21c_32bit
  5. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  6. Navigate to the C:\Downloads\Oracle21c_32bit\client folder
  7. Enter one of the following commands:

Install Type (Administrator)

setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client32" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=Administrator"

Install Type (Runtime)

setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client32" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=Runtime"

Install Type (Instant Client)

setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client32" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=InstantClient"
Software Title:Oracle Database 21c Client
Vendor:Oracle Corporation
Architecture:32-bit
Installer Type:EXE
Silent Install Switch (Administrator)setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client32" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=Administrator"
Silent Install Switch (Runtime)setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client32" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=Runtime"
Silent Install Switch (Instant Client)setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client32" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=InstantClient"
Silent Uninstall Switch:"C:\Oracle\Product\21.0.0\Client32\deinstall\deinstall.bat" -silent -paramfile "%~dp0deinstall_OraClient21Home1.rsp"
Download Link:https://www.oracle.com/database/technologies/oracle21c-windows-downloads.html
PowerShell Script:https://silentinstallhq.com/oracle-database-21c-client-install-and-uninstall-powershell/

Oracle Database 21c Client Silent Install (64-bit)

  1. Navigate to: https://www.oracle.com/database/technologies/oracle21c-windows-downloads.html
  2. Select the Oracle Database 21c Client for Microsoft Windows (64-bit)
  3. Download the zip file to a folder created at (C:\Downloads)
  4. Extract the contents of the zip file using 7-Zip to C:\Downloads\Oracle21c_64bit
  5. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  6. Navigate to the C:\Downloads\Oracle21c_64bit\client folder
  7. Enter one of the following commands:

Install Type (Administrator)

setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client64" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=Administrator"

Install Type (Runtime)

setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client64" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=Runtime"

Install Type (Instant Client)

setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client64" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=InstantClient"
Software Title:Oracle Database 21c Client
Vendor:Oracle Corporation
Architecture:64-bit
Installer Type:EXE
Silent Install Switch (Administrator)setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client64" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=Administrator"
Silent Install Switch (Runtime)setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client64" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=Runtime"
Silent Install Switch (Instant Client)setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client64" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=InstantClient"
Silent Uninstall Switch:"C:\Oracle\Product\21.0.0\Client64\deinstall\deinstall.bat" -silent -paramfile "%~dp0deinstall_OraClient21Home1.rsp"
Download Link:https://www.oracle.com/database/technologies/oracle21c-windows-downloads.html
PowerShell Script:https://silentinstallhq.com/oracle-database-21c-client-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Suppress Oracle Universal Installer Messages from Displaying in Console Window

Install Type (Administrator)

setup.exe -silent -noconsole -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=Administrator"

Install Type (Runtime)

setup.exe -silent -noconsole -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=Runtime"

Install Type (Instant Client)

setup.exe -silent -noconsole -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\21.0.0\Client64" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=InstantClient"

Create Custom Oracle Database Client Install Using Response File

  1. Manually launch the Oracle Database Client 21c Installer (setup.exe)
  2. Configure your preferred options
  3. On Summary page, Click “Save Response File”
  4. Save the file to “C:\Downloads\Oracle21c_32bit\client” or “C:\Downloads\Oracle21c_64bit\client” and name it Oracle21Client.rsp
  5. Cancel & Exit the Oracle Database Client 21c Installer
  6. Open Notepad or your favorite text editor
  7. Add the following line:
"%~dp0setup.exe" -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force -responseFile "%~dp0Oracle21Client.rsp"
  • Save the file to “C:\Downloads\Oracle21c_32bit\client” or “C:\Downloads\Oracle21c_64bit\client” and name it Install.cmd
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the “C:\Downloads\Oracle21c_32bit\client” or “C:\Downloads\Oracle21c_64bit\client” folder
  • Enter the following command: Install.cmd
  • Press Enter

How to Uninstall the Oracle Database 21c Client Silently

Check out the Oracle Database 21c Client Install and Uninstall (PowerShell) post for a scripted solution.

You will need to generate a response file for the Oracle Database 21c Client uninstall by doing the following:

Oracle Database 21c Client Silent Uninstall (32-bit)

  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the deinstall directory inside the ORACLE_HOME location
    • In the example above, it would be “C:\Oracle\Product\21.0.0\Client32\deinstall”
  • Enter the following command: deinstall.bat -silent -checkonly
  • Make note of the location of the generated response file:
    • Ex: (C:\Users\<username>\AppData\Local\Temp\deinstall2022-01-31_11-59-59AM\response\deinstall_OraClient21Home1.rsp)
  • Copy the deinstall_OraClient21Home1.rsp to  “C:\Downloads\Oracle21c_32bit\client”
  • Open Notepad or your favorite text editor
  • Add the following line:
"C:\Oracle\Product\21.0.0\Client32\deinstall\deinstall.bat" -silent -paramfile "%~dp0deinstall_OraClient21Home1.rsp"
  • Save the file to “C:\Downloads\Oracle21c_32bit\client” and name it Uninstall.cmd
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the “C:\Downloads\Oracle21c_32bit\client” folder
  • Enter the following command: Uninstall.cmd
  • Press Enter

Oracle Database 21c Client Silent Uninstall (64-bit)

  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the deinstall directory inside the ORACLE_HOME location
    • In the example above, it would be “C:\Oracle\Product\21.0.0\Client64\deinstall”
  • Enter the following command: deinstall.bat -silent -checkonly
  • Make note of the location of the generated response file:
    • Ex: (C:\Users\<username>\AppData\Local\Temp\deinstall2022-01-31_11-59-59AM\response\deinstall_OraClient21Home1.rsp)
  • Copy the deinstall_OraClient21Home1.rsp to  “C:\Downloads\Oracle21c_64bit\client”
  • Open Notepad or your favorite text editor
  • Add the following line:
"C:\Oracle\Product\21.0.0\Client64\deinstall\deinstall.bat" -silent -paramfile "%~dp0deinstall_OraClient21Home1.rsp"
  • Save the file to “C:\Downloads\Oracle21c_64bit\client” and name it Uninstall.cmd
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the “C:\Downloads\Oracle21c_64bit\client” folder
  • Enter the following command: Uninstall.cmd
  • Press Enter

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts