Home » Infrastructure » Windows » Oracle XE 11g R2 command line install fails
Oracle XE 11g R2 command line install fails [message #617119] Wed, 25 June 2014 04:13 Go to next message
Mochyn
Messages: 5
Registered: June 2014
Junior Member
If i run the installation manually through the GUI it will install without any issues however I need to be able to install it via the command line/powershell.
When i run the following (a different location but essentially the same):
c:\xe_temp> setup.exe /s /f1"c:\xe_temp\response\OracleXE-Install.iss" /f2"c:\xe_temp\setup.log"

the setup log gives response code -3.

This is on a Windows server 2012 64 bit.


[EDITED by LF: applied [code] tags]

[Updated on: Wed, 25 June 2014 13:33] by Moderator

Report message to a moderator

Re: Oracle XE 11g R2 command line install fails [message #617157 is a reply to message #617119] Wed, 25 June 2014 10:04 Go to previous messageGo to next message
Lalit Kumar B
Messages: 2447
Registered: May 2013
Location: World Wide on the Web
Senior Member
Any useful information in log other than just exit/response code? Else it is impossible to say whether its an Oracle issue while installation or OS issue to handle it or your own generated problem.
Re: Oracle XE 11g R2 command line install fails [message #617181 is a reply to message #617157] Wed, 25 June 2014 13:58 Go to previous messageGo to next message
Littlefoot
Messages: 19694
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Did you logon to Windows with administrator privileges?

Did you read and follow installation guide, especially Performing a Silent Installation?

Did you locate and modify OracleXE-Install.iss file? In the installation ZIP file, it is in the following directory (example based on my download file): \OracleXE_112_Win32.zip\DISK1\response

Unless you used the default values for configurable variables (which means that the path is C:\oraclexe\, TNS port 1521, etc. etc.), I doubt that the command you ran is going to succeed.
Re: Oracle XE 11g R2 command line install fails [message #617205 is a reply to message #617181] Thu, 26 June 2014 01:06 Go to previous messageGo to next message
Mochyn
Messages: 5
Registered: June 2014
Junior Member
I am logged on with an account with admin privileges and have run both powershell and cmd prompt as adminstrator. The instructions on that page are the same that I found. I used the install iss that was included in the response folder of the zip using the default values. I can't see any other error messages other than the output log file fromt he command which only gives the result code -3.

Edit: ok I tried it on another server and found that it installed, however once unistalled it responds the same when i try to reinstall it. While this isn't a problem for production it is slightly annoying in my testing enviroment.

[Updated on: Thu, 26 June 2014 02:00]

Report message to a moderator

Re: Oracle XE 11g R2 command line install fails [message #617206 is a reply to message #617205] Thu, 26 June 2014 02:17 Go to previous messageGo to next message
Lalit Kumar B
Messages: 2447
Registered: May 2013
Location: World Wide on the Web
Senior Member
How did you deinstall/uninstall? Have a look at http://docs.oracle.com/cd/B25329_01/doc/install.102/b25143/toc.htm#CIHDDHJD
Re: Oracle XE 11g R2 command line install fails [message #617208 is a reply to message #617206] Thu, 26 June 2014 02:42 Go to previous messageGo to next message
Mochyn
Messages: 5
Registered: June 2014
Junior Member
I used the add or remove programs as described in that link. But after I also tried the silent "de-install" since it was a silent install, that however failed (also with code -3) but I assume that is because it is already removed.
Re: Oracle XE 11g R2 command line install fails [message #617218 is a reply to message #617208] Thu, 26 June 2014 03:37 Go to previous messageGo to next message
Mochyn
Messages: 5
Registered: June 2014
Junior Member
Ok I have solved the problem, when the uninstall is done for whatever reason it leaves the following folder structure "oraclexe>app>oracle". All folders are empty (no hidden files) but exists, deleting these folders allows a silent install to work again.

[Updated on: Thu, 26 June 2014 03:37]

Report message to a moderator

Re: Oracle XE 11g R2 command line install fails [message #617222 is a reply to message #617218] Thu, 26 June 2014 04:15 Go to previous messageGo to next message
Lalit Kumar B
Messages: 2447
Registered: May 2013
Location: World Wide on the Web
Senior Member
Hard to believe that the existing directory structure is the reason. Because in your next attempt of installation it shouldn't prompt to create a directory for installation and will use the existing directory.
Re: Oracle XE 11g R2 command line install fails [message #617223 is a reply to message #617222] Thu, 26 June 2014 04:43 Go to previous message
Mochyn
Messages: 5
Registered: June 2014
Junior Member
I've tested several times now.
Silent install XE > unistall via add or remove programs > silent install fails > delete folders > silent install successful.
The only thing being done is deleting those folders. If you do it manually the installer warns that you are installing to an existing directory and asks if you want to continue anyway. For a silent install this directory is listed in the response file but I guess the installer hasn't been made to handle the situation of the folder existing under silent install.
Previous Topic: windows 2012 client install
Next Topic: Windows Scheduled Task
Goto Forum:
  


Current Time: Fri Oct 24 03:33:19 CDT 2014

Total time taken to generate the page: 0.18091 seconds