Oracle Client Installation
Hello,
Trying to install Oracle Client 11 G using package with the following command line (identifying stuff removed)
\\servername\oracleclient\setup.exe -ignoreSysPrereqs -ignorePrereq -responseFile \\servername\oracleclient\response\client_install.rsp -silent -nowait -force.
The Include Entire Directory box is checked as it will fail 100% if not checked.
This works from the command line on a local machine and works "sometimes" as a package. Given that I get successful installations some of the time I am wondering what I am missing. I have over 200 machines to deploy and it is starting to look like I'll need my walking shoes and a USB stick.
I suspect that part of the problem is that setup installs its own JRE and then runs in another process.
Comments
Try using a Command step instead of an Install step.
Hmmm. You could do a command step for this. You could also make it a bit more complex, depending on how ambitious you feel. You could do a File-Copy step to put that setup.exe and the response file on the local machine you are deploying too. Then you would create a second Powershell step to:
Then after that step Create another powershell step with:
Another nice thing about using the Powershell steps is that you can wrap your code in a Try/Catch block to capture the $_.Exception output from powershell if there is an error, and you'll be able to review it in Output.log for the deployment. Super super helpful, honestly probably one of the nicest features since they added the Powershell Step.
Since I had the free version, the command step is not available (that is changing shortly). I solve my problem by creating setup.bat with the command line inside that and running the batch file. I kept the copy files to machine intact as the Oracle setup is rather piggy when it comes to taking up file space. A consequence of running in java, I imagine.
Glad you got it working. You'll definitely enjoy having a paid version of PDQ!