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 18c Client from the command line using the EXE installer.
How to Install the Oracle Database 18c Client Silently
Oracle Database 18c Client Silent Install (32-bit)
- Navigate to: https://support.oracle.com/
- Select the Oracle Database 18c Client for Microsoft Windows (32-bit)
- Download the zip file to a folder created at (C:\Downloads)
- Extract the contents of the zip file using 7-Zip to C:\Downloads\Oracle18c_32bit
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads\Oracle18c_32bit\client folder
- Enter one of the following commands:
Install Type (Administrator)
setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\18.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\18.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\18.0.0\Client32" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=InstantClient"
Software Title: | Oracle Database 18c 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\18.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\18.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\18.0.0\Client32" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=InstantClient" |
Silent Uninstall Switch: | "C:\Oracle\Product\18.0.0\Client32\deinstall\deinstall.bat" -silent -paramfile "%~dp0deinstall_OraClient18Home1.rsp" |
Download Link: | https://support.oracle.com/ |
Oracle Database 18c Client Silent Install (64-bit)
- Navigate to: https://support.oracle.com/
- Select the Oracle Database 18c Client for Microsoft Windows (64-bit)
- Download the zip file to a folder created at (C:\Downloads)
- Extract the contents of the zip file using 7-Zip to C:\Downloads\Oracle18c_64bit
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads\Oracle18c_64bit\client folder
- Enter one of the following commands:
Install Type (Administrator)
setup.exe -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force "ORACLE_HOME=C:\Oracle\Product\18.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\18.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\18.0.0\Client64" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=InstantClient"
Software Title: | Oracle Database 18c 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\18.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\18.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\18.0.0\Client64" "ORACLE_BASE=C:\Oracle" "oracle.install.IsBuiltInAccount=true" "oracle.install.client.installType=InstantClient" |
Silent Uninstall Switch: | "C:\Oracle\Product\18.0.0\Client64\deinstall\deinstall.bat" -silent -paramfile "%~dp0deinstall_OraClient18Home1.rsp" |
Download Link: | https://support.oracle.com/ |
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
Create Custom Oracle Database Client Install Using Response File
- Manually launch the Oracle Database Client 18c Installer (setup.exe)
- Configure your preferred options
- On Summary page, Click “Save Response File”
- Save the file to “C:\Downloads\Oracle18c_32bit\client” or “C:\Downloads\Oracle18c_64bit\client” and name it Oracle18Client.rsp
- Cancel & Exit the Oracle Database Client 18c Installer
- Open Notepad or your favorite text editor
- Add the following line:
"%~dp0setup.exe" -silent -nowait -ignoreSysPrereqs -ignorePrereqFailure -waitForCompletion -force -responseFile "%~dp0Oracle18Client.rsp"
- Save the file to “C:\Downloads\Oracle18c_32bit\client” or “C:\Downloads\Oracle18c_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\Oracle18c_32bit\client” or “C:\Downloads\Oracle18c_64bit\client” folder
- Enter the following command: Install.cmd
- Press Enter
How to Uninstall the Oracle Database 18c Client Silently
You will need to generate a response file for the Oracle Database 18c Client uninstall by doing the following:
Oracle Database 18c 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\18.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\deinstall2021-01-31_11-59-59AM\response\deinstall_OraClient18Home1.rsp)
- Copy the deinstall_OraClient18Home1.rsp to “C:\Downloads\Oracle18c_32bit\client”
- Open Notepad or your favorite text editor
- Add the one of the following line:
"C:\Oracle\Product\18.0.0\Client32\deinstall\deinstall.bat" -silent -paramfile "%~dp0deinstall_OraClient18Home1.rsp"
- Save the file to “C:\Downloads\Oracle18c_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\Oracle18c_32bit\client” folder
- Enter the following command: Uninstall.cmd
- Press Enter
Oracle Database 18c 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\18.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\deinstall2021-01-31_11-59-59AM\response\deinstall_OraClient18Home1.rsp)
- Copy the deinstall_OraClient18Home1.rsp to “C:\Downloads\Oracle18c_64bit\client”
- Open Notepad or your favorite text editor
- Add the one of the following line:
"C:\Oracle\Product\18.0.0\Client64\deinstall\deinstall.bat" -silent -paramfile "%~dp0deinstall_OraClient18Home1.rsp"
- Save the file to “C:\Downloads\Oracle18c_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\Oracle18c_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.