/build/static/layout/Breadcrumb_cap_w.png

Silent Install of Oracle 11G

Hello,

I have successfully created a response file on a local computer and ran it from the command line to install Oracle 11g silently. It worked perfectly. I then zipped it created a Post Install in the K2000. I have used the command line “setup.exe -silent -responseFile response response.rsp” To try to install Oracle 11g as a post installation. The issue I receive is after it runs I get an error that it was not able to find the correct response File. What could be the issue if I can get it to work locally but not on a post installation in the K2000?

 

Thanks in advance for your help.

 


0 Comments   [ + ] Show comments

Answers (4)

Posted by: SMal.tmcc 11 years ago
Red Belt
3

I would look at path problems to the location of the response file.  Kace puts the files in a local folder c:\kace.  You can try an old DOS trick by putting .\ in front of the response file name to tell it to use the starting path location of where the setup.exe is located.

If you still run into problems. disable Kcleanup from running as a post task and then navigate to the numbered directory the app task was placed in under c:\kace\ and run manually to step thru to find problem.

Posted by: philologist 11 years ago
Red Belt
2

I actually use a batch file to run a few other things for this deployment since we also use the oracle odbc connector.  I believe my comments are in the tips for oracle on the site here, but the batch file follows:

mkdir C:\oracle
copy /Y client.rsp C:\oracle\client.rsp
start /wait setup.exe -silent -noconsole -nowelcome -nowait -responseFile "C:\oracle\client.rsp"
mkdir C:\oracle\product\11.2.0\client_1\network\admin
copy /Y tnsnames.ora C:\oracle\product\11.2.0\client_1\network\admin\tnsnames.ora
mkdir C:\oracle\product\11.2.0\client_1\instantclient\
xcopy /E /Y odbc\* C:\oracle\product\11.2.0\client_1\instantclient
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v TNS_Admin /d C:\oracle\product\11.2.0\client_1\network\admin
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\ODBC Data Sources"
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\ODBC Data Sources" /v db.world /d "Oracle in instantclient_11_2"
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v Driver /d c:\oracle\instantclient\instantclient_11_2\SQORA32.dll
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v DisableRULEHint /d T
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v Attributes /d W
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v FetchBufferSize /d 64000
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v NumericSettin /d NLS
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v "ForceWCHAR /d F
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v FailoverDelay /d 10
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v FailoverRetryCount /d 10
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v MetadataIdDefault /d F
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v BindAsFLOAT /d F
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v BindAsDATE /d F
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v CloseCursor /d F
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v EXECSchemaOpt /d ""
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v EXECSyntax /d F
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v Application Attributes /d T
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v ResultSets /d T
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v QueryTimeout /d T
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v CacheBufferSize /d 20
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v StatementCache /d F
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v Failover /d T
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v Lobs /d T
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v DisableMTS /d T
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v DisableDPM /d F
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v BatchAutocommitMode /d IfAllSuccessful
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v Description /d db.world
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v ServerName /d db.world
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v Password /d ""
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v UserID /d ""
reg add "HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\db.world" /v DSN /d db.world
C:\oracle\product\11.2.0\client_1\instantclient\odbc_install.exe

Comments:
  • Of note, this gets around the path problems, since I move everything into a path and work from there. - philologist 11 years ago
Posted by: jagadeish 11 years ago
Red Belt
1

 “setup.exe -silent -responseFile response response.rsp”

Try this

Setup.exe -silent -nowelcome -nowait -responseFile response.rsp

Posted by: Gaspesy 7 years ago
White Belt
0
to avoid problems of response file, I use in a batch this command:

"%~dp0setup.exe"-silent -responseFile "%~dp0response\response.rsp"
%~dp0 returns the folder where you launch the command with a backslash ex: C:\Primavera\ ... then you just have to add the name of the child folder sits the file and the file name :)
 
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