/build/static/layout/Breadcrumb_cap_w.png

Oracle DB XE 11g CLI install error "setup.exe is not a valid Win32 application"

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.

0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: dunnpy 8 years ago
Red Belt
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
Posted by: anonymous_115870 8 years ago
White Belt
0

Top Answer

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.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ