I’m working on a deployment script for Oracle Client 11g but I’m having issues with the function Execute-Process. I believe that the function doesn’t wait for the “perfect” installer Oracle developed. (I’m assuming it’s because it’s setup.exe starts oui.exe that starts java.exe …). How can I make the function wait for the process to finish?
To be more specific, the script starts launches the process and immediately exists while the installation process is still running. The function returns the exit code 0