Oracle DB XE 11g CLI install error "setup.exe is not a valid Win32 application"
"%~dp0setup.exe" /s /f1"%~dp0OracleXE-install.iss" /f2"%~dp0setup.log"
The installation does not complete, and the log file returns only the following:
[ResponseResult]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 Chosen by the Author
mkdir "C:\Program Files\Oracle XE\response"
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.
Community Chosen Answer
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.