Database Install/Upgrade/Opatch (MOSC)

MOSC Banner

Oracle database clinet install fail with silent mode

I am trying to install Oracle client 12.2.0 32 bit on Windows container 2019 ltsc, but setup.exe returns exit code -2.


I run setup.exe by powershell script with administrator privilege. and my powershell Script is as fllows.


<powershell>

Set-Location C:\Scripts\OracleClient\client32


Write-Host "Starting Oracle Client install"

$process = (Start-Process .\setup.exe -ArgumentList "-silent -force -waitforcompletion -nowait -ignoreSysPrereqs -ignorePrereq -responseFile C:\Scripts\oracleclient.rsp" -PassThru)

$process.WaitForExit()

Write-Host "Oracle Client install Process exit code : " $process.ExitCode

<powershell>


please how to fix it and what cause exit code "-2".


thanks

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center