I am attempting to deploy Oracle Database XE with a silent installation, using SCCM. I've downloaded the installer and provided response files from: http://www.oracle.com/technology/products/database/xe

The software installs from the GUI without issue. Following the silent installation example provided by Oracle in the Oracle Database Express Edition Installation Guide, I run the exe with the appropriate response file using the CLI:

"%~dp0setup.exe" /s /f1"%~dp0OracleXE-install.iss" /f2"%~dp0setup.log"

The installation does not complete, and the log file returns only the following:

[ResponseResult]
ResultCode=-3
I tried it without the silent flag, and I received an error that the "setup.exe is not a valid Win32 application." Any tips would be appreciated.
Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answer Chosen by the Author

0
Thanks for pointing me in the right direction Dumpy. I started to search more about deploying the .iss specifically, and I found a resource for the previous version, Oracle XE 10g. 

As it turns out, you must declare an absolute path for the .iss file, or the installation fails. The installation guide provided by Oracle is brief, and does not specify this in the documentation.

I was able to get it to work by copying the .exe and the .iss to the computer, and then running the silent installation from a .bat file with the following:


mkdir "C:\Program Files\Oracle XE\response"
mkdir "C:\oraclexe\"
copy "%~dp0\DISK1\setup.exe" "C:\Program Files\Oracle XE"
copy "%~dp0\DISK1\response\OracleXE-install.iss" "C:\Program Files\Oracle XE\response"
"C:\Program Files\Oracle XE\setup.exe" /s /f1"C:\Program Files\Oracle XE\response\OracleXE-install.iss" /f2"C:\Program Files\Oracle XE\setup.log"


I may be able to simplify this, and drop the second mkdir; when running from the GUI, the .exe unpacks files to C:\oraclexe\, but it worked so I didn't try to mess with it anymore.

Answered 03/21/2016 by: jmig
White Belt

Please log in to comment

Community Chosen Answer

1
If you run setup.exe = launches without error
If you run provided .iss file (with or without silent switch = gives Win32 error

It makes sense to assume that there is an issue in the .iss file.
Have you checked the contents to see if there is anything about OS versions or bitness that you can modify?

If that doesn't work, how about creating your own .iss file?

You need the '-r' switch - see this post for details.
Once you have your own one - test, test, test.

You should be able to compare the two and work out what is different in your (hopefully working one) that caused the issue in the vendor provided one.

Dunnpy
Answered 03/21/2016 by: dunnpy
Red Belt

Please log in to comment

Answers

This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

Answer this question or Comment on this question for clarity