legnireb Posted June 24, 2009 Author Posted June 24, 2009 I this can help i think that it deletes the extracted files too soon, because it launches the setup and then it stops.What do you think about it?Leg
AlBundy33 Posted June 24, 2009 Posted June 24, 2009 Because of this lineSetting value of FROM_LOCATION to C:\DOCUME~1\super\LOCALS~1\Temp\7ZipSfx.000\Oracle_Client\install\../stage/products.jarit seems thatThe specified response file C:\DOCUME~1\super\LOCALS~1\Temp\7ZipSfx.000\Oracle_Client\install\win32\clientcustom.rsp is not found.should be found - so maybe you are right.What happens if you do the following steps:1. open command prompt (cmd)2. change directory to ...Bin\Oracle_Client\install\win323. run the following commandstart "" /wait setup.exe -silent -responseFile clientcustom.rspDoes the command waits until setup is done?Al
AlBundy33 Posted June 24, 2009 Posted June 24, 2009 May this could work:Modify the second try to this;!@Install@!UTF-8!RunProgram="\"%%T\\Oracle_Client\\install\\win32\\setup.exe\" -silent -responseFile \"%%T\\Oracle_Client\\install\\win32\\clientcustom.rsp\""InstallPath="%TEMP%\oracle_install"GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!The fixed InstallPath will not be deleted automatically - so the install should work.Can you try this?If this work we "only" have to find a way to wait for the termination of setup.exe. :-)Al
legnireb Posted June 24, 2009 Author Posted June 24, 2009 No it does not wait .sorry.tell me one thing:"\"%%T\\Oracle_Client\\install\\win32\\setup.exe\[b]" [/b]-silent -responseFile \"%%T\\Oracle_Client\\install\\win32\\clientcustom.rsp\"" why double dashes after setup.exe?
legnireb Posted June 24, 2009 Author Posted June 24, 2009 Hi AlIt took a while, but was just fine..Good job.. The log:silentInstall2009-06-24_11-24-17PM.logThe installation of Oracle9i Client was successful.But as you know it did not delete the Oracle_Install in the tem folder...
AlBundy33 Posted June 26, 2009 Posted June 26, 2009 The dashes are not only after setup.exeThe syntax is:RunProgram="command arguments"And because of command and argument can contain spaces we need to quote it.e.g. in command prompt you can not run C:\Documents and Settings\your_name\Desktop\test.exe - it will cause in a file "C:\Documents" not found error.As in this example we have to quote our command and also the arguments with spaces and because of the syntax (command and arguments have to be in quotes) we have to escape the quotes inside (\").the example above would look likeRunProgram="\"C:\Documents and Settings\your_name\Desktop\test.exe\""because setup.exe does not wait until the installation is done there is no way to delete the folder automatically.of couse we could check the process list and wait until setup.exe terminates but this is not good style.It would be better to find out if there is a way to start setup and wait until its done.--> And if there is a way you could remove the InstallPath-line, so that the folder would deleted automatically.Don't forget: if you run this setup with WPI, WPI starts the sfx, wait until the extraction is done and installs the next programm (it does not wait until the oracle-setup is done!!!).Al
AlBundy33 Posted June 27, 2009 Posted June 27, 2009 (edited) I downloaded the Oracle 9.2 Client from Oracle and now I have the real install-command.so if you want you can try this:;!@Install@!UTF-8!RunProgram="\"%%T\\Oracle_Client\\jre\\bin\\javaw.exe\" -Doracle.installer.library_loc=\"%%T\\Oracle_Client\\oui\\bin\\win32\" -Doracle.installer.startup_location=\"%%S\\install\" -Doracle.installer.nlsEnabled=\"TRUE\" -mx48m -cp \"%%T\\Oracle_Client;%%T\\Oracle_Client\\oui\\lib\\OraInstaller.jar;%%T\\Oracle_Client\\jre\\lib\\rt.jar;%%T\\Oracle_Client\\jre\\lib\\i18n.jar\" oracle.sysman.oii.oiic.OiicInstaller -scratchPath \"%%T\\Oracle_Client\" -sourceLoc \"%%T\\Oracle_client\\install\\../stage/products.jar\" -sourceType network -silent -responseFile \"%%T\\Oracle_Client\\install\\win32\\clientcustom.rsp\""GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!Attention: the RunProgram-line is very long - so maybe you see some line-breaks.you created file should look like this:...RunProgram=...GUIModel="2"...Theoretically with this command there's no need to use the sfx-file - you can also run this command from CD (of course you need to replace to %%T\Oracle_Client with you working-dir and %%S.SORRY - THIS DOES NOT WORK:The command above is right - but the problem is, that setup.exe extracts or copys some files to you temp-directory and starts the command from there.Unforutnately I don't know where the files came from. Edited June 27, 2009 by AlBundy33
AlBundy33 Posted June 27, 2009 Posted June 27, 2009 (edited) This should work:Use this config.txt:;!@Install@!UTF-8!RunProgram="\"%%T\\Oracle_Client\\run_setup.cmd\" -silent -responseFile \"%%T\\Oracle_Client\\install\\win32\\clientcustom.rsp\""GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!and create the file run_setup.cmd in your "Oracle_Client"-folder.This should do the same like setup.exe but waits until the setup is done:@ECHO OFFSET BASE=%~dp0SET OUI_SRC=%BASE%\stage\Components\oracle.swd.oui\2.2.0.12.0\1\DataFiles\ExpandedSET JRE_SRC=%BASE%\stage\Components\oracle.swd.jre\1.3.1.1.0a\1\DataFiles\ExpandedSET IMG_SRC=%BASE%\install\imagesSET TIMESTAMP=%DATE%_%TIME%SET TIMESTAMP=%TIMESTAMP: =_%SET TIMESTAMP=%TIMESTAMP:.=_%SET TIMESTAMP=%TIMESTAMP::=_%SET TIMESTAMP=%TIMESTAMP:,=_%SET TEMP_DIR=%TEMP%\%TIMESTAMP%IF NOT EXIST "%OUI_SRC%" ( ECHO directory not found "%OUI_SRC%"! GOTO :EOF)IF NOT EXIST "%JRE_SRC%" ( ECHO directory not found "%JRE_SRC%"! GOTO :EOF)IF NOT EXIST "%IMG_SRC%" ( ECHO directory not found "%IMG_SRC%"! GOTO :EOF)::create a temporary folderMD "%TEMP_DIR%"::initialize the folder like setup.exeXCOPY /Q /S "%OUI_SRC%" "%TEMP_DIR%\oui\"XCOPY /Q /S "%JRE_SRC%" "%TEMP_DIR%\jre\"XCOPY /Q /S "%IMG_SRC%" "%TEMP_DIR%\images\"::run the installer and wait until it is doneSTART "Install" /WAIT "%TEMP_DIR%\jre\bin\javaw.exe" -Doracle.installer.library_loc="%TEMP_DIR%\oui\bin\win32" -Doracle.installer.startup_location="%BASE%\install" -Doracle.installer.nlsEnabled="TRUE" -mx48m -cp "%TEMP_DIR%;%TEMP_DIR%\oui\lib\OraInstaller.jar;%TEMP_DIR%\jre\lib\rt.jar;%TEMP_DIR%\jre\lib\i18n.jar" oracle.sysman.oii.oiic.OiicInstaller -scratchPath "%TEMP_DIR%" -sourceLoc "%BASE%\install\../stage/products.jar" -sourceType network %*::delete temporary-folderRD /S /Q "%TEMP_DIR%"The part from START "Install" to ::delete is one line (::delete is on a new line)I think this should work.Good luck. :-)Al Edited June 27, 2009 by AlBundy33
legnireb Posted June 30, 2009 Author Posted June 30, 2009 Hi AlThs for your pacience...I tried as you said and here is the log:"Environment variables: ORACLE_HOME = PATH = C:\Oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\Satsuki Decoder Pack\Filtres;C:\Program Files\Satsuki Decoder Pack\Filtres;C:\Oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\Satsuki Decoder Pack\Filtres;C:\Program Files\Satsuki Decoder Pack\Filtres;C:\Oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\Satsuki Decoder Pack\Filtres;C:\Program Files\Satsuki Decoder Pack\Filtres;C:\WINDOWS\System32;C:\PROGRA~1\COMMON~1\MUVEET~1\030625;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625;C:\Program Files\Satsuki Decoder Pack\Filtres;C:\Program Files\Satsuki Decoder Pack\Filtres;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625 CLASSPATH = Username is: super*** Welcome Page***This installation is being performed using response file C:/DOCUME~1/super/LOCALS~1/Temp/7ZipSfx.000/Oracle_Client/install/win32/clientcustom.rsp.Setting value of FROM_LOCATION to C:\DOCUME~1\super\LOCALS~1\Temp\Oracle_Client\stage\products.jarSetting value of ORACLE_HOME_NAME to OraHome92Setting value of ORACLE_HOME to C:\Oracle\ora92Setting value of TOPLEVEL_COMPONENT to oracle.client,9.2.0.1.0,Setting value of SHOW_SPLASH_SCREEN to falseSetting value of SHOW_WELCOME_PAGE to falseSetting value of SHOW_CUSTOM_TREE_PAGE to falseSetting value of SHOW_COMPONENT_LOCATIONS_PAGE to falseSetting value of SHOW_SUMMARY_PAGE to trueSetting value of SHOW_INSTALL_PROGRESS_PAGE to trueSetting value of SHOW_REQUIRED_CONFIG_TOOL_PAGE to trueSetting value of SHOW_OPTIONAL_CONFIG_TOOL_PAGE to falseSetting value of SHOW_RELEASE_NOTES to falseSetting value of SHOW_ROOTSH_CONFIRMATION to trueSetting value of SHOW_END_SESSION_PAGE to falseSetting value of SHOW_EXIT_CONFIRMATION to falseSetting value of NEXT_SESSION to falseSetting value of NEXT_SESSION_ON_FAIL to falseSetting value of DEINSTALL_LIST to oracle.client,9.2.0.1.0,Setting value of SHOW_DEINSTALL_CONFIRMATION to trueSetting value of SHOW_DEINSTALL_PROGRESS to trueSetting value of SHOW_COMPONENT_LOCATIONS_PAGE to falseSetting value of SHOW_CUSTOM_TREE_PAGE to falseSetting value of SHOW_SUMMARY_PAGE to falseSetting value of SHOW_INSTALL_PROGRESS_PAGE to falseSetting value of SHOW_REQUIRED_CONFIG_TOOL_PAGE to falseSetting value of SHOW_OPTIONAL_CONFIG_TOOL_PAGE to falseSetting value of SHOW_RELEASE_NOTES to falseSetting value of SHOW_END_SESSION_PAGE to falseSetting value of SHOW_SPLASH_SCREEN to falseSetting value of SHOW_WELCOME_PAGE to falseSetting value of SHOW_ROOTSH_CONFIRMATION to falseSetting value of SHOW_EXIT_CONFIRMATION to falseSetting value of SHOW_DEINSTALL_CONFIRMATION to falseSetting value of SHOW_DEINSTALL_PROGRESS to falseSetting value of INVENTORY_LOCATION to C:\Program Files\Oracle\InventoryInitializing inventory setup WCCEUnable to read the list of homes from the inventory.The installer version is 2.2.0.12.0Doing operation in inventory setup WCCESetting value of CLUSTER_NODES to *** Cluster Node Selection Page***ClusterNodes = CLUSTER_NODES = *** File Locations Page***FromLocation = FROM_LOCATION = C:\DOCUME~1\super\LOCALS~1\Temp\Oracle_Client\stage\products.jarToLocation = ORACLE_HOME = C:\Oracle\ora92ToName = ORACLE_HOME_NAME = OraHome92Initializing installer access setupSetting value of ORACLE_HOME to C:\Oracle\ora92Setting value of ORACLE_HOME_KEY to Software\ORACLE\HOME0Setting value of ORACLE_HOME_FOLDER to Oracle - OraHome92Setting value of ORACLE_HOME_SERVICE to OraHome92Error :*** Alert: File C:/DOCUME~1/super/LOCALS~1/Temp/Oracle_Client/stage/products.jar not found. ***User selected: Yes/OKDoing operation for installer access setupIt manages to create the Oracle folder and the ora92 folder with install.plattform inside.Here is my responsefile:###################################################################### #### Oracle9i Client Custom Install Response File Template #### -------------------------------------------------------------- #### #### Copyright© Oracle Corporation 1998,2000. All rights reserved.#### #### Specify values for the variables listed below to customize #### your installation. #### #### Each variable is associated with a comment. The comment #### identifies the variable type. #### #### Please specify the values in the following format: #### #### Type Example #### String "Sample Value" #### Boolean True or False #### Number 1000 #### StringList {"String value 1","String Value 2"} #### #### The values that are given as <Value Required> need to be #### specified for a silent installation to be successful. #### #### #### This response file is generated by Oracle Software #### Packager. ######################################################################[General]RESPONSEFILE_VERSION=1.7.0[sESSION]#-----------------------------------------------------------------------------# Name : UNIX_GROUP_NAME# Datatype : String# Description : Unix group to be set for the inventory# : directory. Valid only in Unix platforms.# Valid values : a string containing the group name# Example value : "install"# Default value : none# Mandatory : No#-----------------------------------------------------------------------------UNIX_GROUP_NAME=<Value Unspecified>#-----------------------------------------------------------------------------# Name : FROM_LOCATION# Datatype : String# Description : Complete path of the products.jar file from the staging area# containing products to install# Valid values : Full path ending in "products.jar"# Example value : "e:\stage\products.jar"# Default value : "..\stage\products.jar"# Mandatory : No#-----------------------------------------------------------------------------FROM_LOCATION="%TEMP%\Oracle_Client\stage\products.jar"#-----------------------------------------------------------------------------# Name : FROM_LOCATION_CD_LABEL# Datatype : String# Description : This variable should only be used in multi-CD installations.# It includes the label of the Compact Disk where the file# "products.jar" exists. The label can be found in the file# "disk.label" in the same directory as products.jar.# Valid values : Any string# Example value : "oracle9i"# Mandatory : No#-----------------------------------------------------------------------------FROM_LOCATION_CD_LABEL=<Value Unspecified>#-----------------------------------------------------------------------------# Name : NEXT_SESSION_RESPONSE# Datatype : String# Description : Optionally specifies the full path of next session's# response file. If only a file name is specified, the# response file is retrieved from <TEMP>/oraInstall# directory. This variable is only active if# NEXT_SESSION is set to true.# Valid values : Full path to a valid response file or a response file name# Example value : "c:\temp\install.rsp"# Default value : None# Mandatory : No#-----------------------------------------------------------------------------NEXT_SESSION_RESPONSE=<Value Unspecified>#-----------------------------------------------------------------------------# Name : ORACLE_HOME# Datatype : String# Description : Full path of directory to use for installing Oracle# products - the "Oracle Home"# Valid values : Directory path (existent or non-existent)# Example value : "d:\oracle\products\9.0.1"# Default value : none# Mandatory : Yes#-----------------------------------------------------------------------------ORACLE_HOME="%systemdrive%\Oracle\ora92"#-----------------------------------------------------------------------------# Name : ORACLE_HOME_NAME# Datatype : String# Description : Name used to uniquely identify the Oracle Home on this # system.# Valid values : String that is unique on this system# Example value : "OHOME1"# Default value : none# Mandatory : Yes#-----------------------------------------------------------------------------ORACLE_HOME_NAME="OraHome92"#-----------------------------------------------------------------------------# Name : TOPLEVEL_COMPONENT# Datatype : StringList# Description : Top-level product and version to install# The format is of the form {"<Internal name>", "<version>"}# Note : DO NOT CHANGE THE DEFAULT VALUE.# To install different top-level products, use one of the# other response file templates# Mandatory : Yes#-----------------------------------------------------------------------------TOPLEVEL_COMPONENT={"oracle.client","9.2.0.1.0"}#-----------------------------------------------------------------------------# Name : DEINSTALL_LIST# Datatype : StringList# Description : List of components to be deinstalled during a# : deinstall session# Valid values : <"oracle.server","9.2.0.1.0"># Default value : none# Mandatory : No#-----------------------------------------------------------------------------DEINSTALL_LIST={"oracle.client","9.2.0.1.0"}#-----------------------------------------------------------------------------# Name : SHOW_SPLASH_SCREEN# Datatype : Boolean# Description : Set to true to show the initial splash screen of the# installer# Valid values : true, false# Default value : false# Mandatory : No#-----------------------------------------------------------------------------SHOW_SPLASH_SCREEN=false#-----------------------------------------------------------------------------# Name : SHOW_WELCOME_PAGE# Datatype : Boolean# Description : Set to true to show the Welcome page of the installer# Valid values : true, false# Default value : false# Mandatory : No#-----------------------------------------------------------------------------SHOW_WELCOME_PAGE=false#-----------------------------------------------------------------------------# Name : SHOW_COMPONENT_LOCATIONS_PAGE# Datatype : Boolean# Description : Set to true to show the component locations page in# the installer. This page only appears if there are# products whose install directories can be changed.# If you set this to false you will prevent the user# from specifying alternate install directories.# Valid values : true, false# Default value : false# Mandatory : No#-----------------------------------------------------------------------------SHOW_COMPONENT_LOCATIONS_PAGE=false#-----------------------------------------------------------------------------# Name : SHOW_CUSTOM_TREE_PAGE# Datatype : Boolean# Description : Set to true to display the available products# selection tree during a Custom install# Valid values : true, false# Default value : false# Mandatory : No#-----------------------------------------------------------------------------SHOW_CUSTOM_TREE_PAGE=false#-----------------------------------------------------------------------------# Name : SHOW_SUMMARY_PAGE# Datatype : Boolean# Description : Set to true to display the Summary page in the# installer# Valid values : true, false# Default value : false# Mandatory : No#-----------------------------------------------------------------------------SHOW_SUMMARY_PAGE=true#-----------------------------------------------------------------------------# Name : SHOW_INSTALL_PROGRESS_PAGE# Datatype : Boolean# Description : Set to true to show the install progress screen.# This screen shows detailed status of the# installation, which file is being copied, which link# action is being performed, etc. It also shows# percentage complete.# Valid values : true, false# Default value : true# Mandatory : Yes#-----------------------------------------------------------------------------SHOW_INSTALL_PROGRESS_PAGE=true#-----------------------------------------------------------------------------# Name : SHOW_REQUIRED_CONFIG_TOOL_PAGE# Datatype : Boolean# Description : Set to true to display the status screen for# required configuration tools. This screen shows the# status of each tool along with detailed information# in the event of tool failure.# Valid values : true, false# Default value : true# Mandatory : Yes#-----------------------------------------------------------------------------SHOW_REQUIRED_CONFIG_TOOL_PAGE=true#-----------------------------------------------------------------------------# Name : SHOW_OPTIONAL_CONFIG_TOOL_PAGE# Datatype : Boolean# Description : Set to true to display the optional configuration# tool page which allows you to launch optional# configuration tools and view details status,# including details on any failures.# Valid values : true, false# Default value : false# Mandatory : No#-----------------------------------------------------------------------------SHOW_OPTIONAL_CONFIG_TOOL_PAGE=false#-----------------------------------------------------------------------------# Name : SHOW_RELEASE_NOTES# Datatype : Boolean# Description : Set to true to show the release notes screen from# which Release Notes can be viewed. NOTE, 9.0.1 does# not use any release notes so this will not be# relevant for an 9.0.1 install.# Valid values : true, false# Default value : false# Mandatory : No#-----------------------------------------------------------------------------SHOW_RELEASE_NOTES=false#-----------------------------------------------------------------------------# Name : SHOW_ROOTSH_CONFIRMATION# Datatype : Boolean# Description : Set to true to display the dialog which prompts the# user to run root.sh before a database is created.# If this is set to false, the root.sh script can be# run manually after installation, but the Database# Configuration Assistant may not have permissions to# update the oratab file if this is the first Oracle# installation on the machine.# Valid values : true, false# Default value : true# Mandatory : No#-----------------------------------------------------------------------------SHOW_ROOTSH_CONFIRMATION=true#-----------------------------------------------------------------------------# Name : SHOW_END_SESSION_PAGE# Datatype : Boolean# Description : Set to true to display end session dialog. This# page shows whether the installation is successful.# Valid values : true, false# Default value : false# Mandatory : No#-----------------------------------------------------------------------------SHOW_END_SESSION_PAGE=false#-----------------------------------------------------------------------------# Name : SHOW_EXIT_CONFIRMATION# Datatype : Boolean# Description : Set to true to display dialog for confirming exit.# If set to false, installer will exit without# prompting.# Valid values : true, false# Default value : false# Mandatory : No#-----------------------------------------------------------------------------SHOW_EXIT_CONFIRMATION=false#-----------------------------------------------------------------------------# Name : NEXT_SESSION# Datatype : Boolean# Description : Set to true to allow users to go back to the File# Locations page for another installation. If this is# set to true, NEXT_SESSION_RESPONSE should be used to# indicate location of the second reponse file.# Valid values : true, false# Default value : false# Mandatory : No#-----------------------------------------------------------------------------NEXT_SESSION=false#-----------------------------------------------------------------------------# Name : NEXT_SESSION_ON_FAIL# Datatype : Boolean# Description : Set to true to allow users to go back to the File# Locations page for another installation even if the# first installation failed. This flag is only# relevant if NEXT_SESSION is set to true.# Valid values : true, false# Default value : false# Mandatory : No#-----------------------------------------------------------------------------NEXT_SESSION_ON_FAIL=false#-----------------------------------------------------------------------------# Name : SHOW_DEINSTALL_CONFIRMATION# Datatype : Boolean# Description : Set to true if deinstall confirmation is needed# : during a deinstall session.# Valid values : true, false# Default value : true# Mandatory : No#-----------------------------------------------------------------------------SHOW_DEINSTALL_CONFIRMATION=true#-----------------------------------------------------------------------------# Name : SHOW_DEINSTALL_PROGRESS# Datatype : Boolean# Description : Set to true if deinstall progress is needed during# : a deinstall session.# Valid values : true, false# Default value : true# Mandatory : No#-----------------------------------------------------------------------------SHOW_DEINSTALL_PROGRESS=true#-----------------------------------------------------------------------------# Name : LOCATION_FOR_DISK<disk number># Datatype : String# Description : Set to the full path of the root of the subsequent CDs in # the Oracle9i set. This may be a mounted CD-ROM location or# a location on the hard drive if you have copied the# CD images to the hard disk.# Valid values : full path to the root of the CD corresponding to the disk# number indicated. # Default value : None# Mandatory : Yes#-----------------------------------------------------------------------------LOCATION_FOR_DISK2="%TEMP%\Oracle_Client"LOCATION_FOR_DISK3="%TEMP%\Oracle_Client"#-----------------------------------------------------------------------------# End of GENERAL SESSION section#-----------------------------------------------------------------------------## Oracle9i Client#[oracle.client_9.2.0.1.0]#-----------------------------------------------------------------------------# Name : COMPONENT_LANGUAGES# Datatype : StringList#-----------------------------------------------------------------------------COMPONENT_LANGUAGES={"en"}#-----------------------------------------------------------------------------# Name : INSTALL_TYPE# Datatype : String# Description : Type of installation for the Oracle9i Client# Note : DO NOT CHANGE THE DEFAULT VALUE.# To install using a different install type, use one of the# other response file templates# Mandatory : Yes# Example : INSTALL_TYPE = "Custom"#-----------------------------------------------------------------------------INSTALL_TYPE="Custom"#-----------------------------------------------------------------------------# Name : DEPENDENCY_LIST (oracle.client)# Datatype : StringList# Description : List of optional products to be installed along with# this one. The following choices are available. The# value can contain any combination of these choices.# Note : The products listed are optional dependencies. Any# required dependencies will automatically be installed.# Valid values :# oracle.emcltprod, 9.2.0.1.0 : Oracle Enterprise Manager Products 9.2.0.1.0 # oracle.networking.netcltprod, 9.2.0.1.0 : Oracle Network Utilities 9.2.0.1.0 # oracle.utilities.util, 9.2.0.1.0 : Oracle Database Utilities 9.2.0.1.0 # oracle.java, 9.2.0.1.0 : Oracle Java Utilities 9.2.0.1.0 # oracle.rdbms.sqlplus, 9.2.0.1.0 : SQL*Plus 9.2.0.1.0 # oracle.apache.isqlplus.ise, 9.2.0.1.0 : iSQL*Plus Extension for Windows 9.2.0.1.0 # oracle.java.jdbc, 9.2.0.1.0 : Oracle JDBC/OCI Interfaces 9.2.0.1.0 # oracle.java.jdbc.thin, 9.2.0.1.0 : Oracle JDBC/THIN Interfaces 9.2.0.1.0 # oracle.oid.client, 9.2.0.1.0 : Oracle Internet Directory Client 9.2.0.1.0 # oracle.winprod, 9.2.0.1.0 : Oracle Windows Interfaces 9.2.0.1.0 # oracle.rdbms.ocitop, 9.2.0.1.0 : Oracle Call Interfaces 9.2.0.1.0 # oracle.p2k, 9.2.0.1.0 : Oracle Programmer 9.2.0.1.0 # oracle.p2k.xmldevkit, 9.2.0.1.0 : Oracle XML Developer's Kit 9.2.0.1.0 # oracle.doc.windoc, 9.2.0.1.0 : Oracle9i Windows Documentation 9.2.0.1.0 # oracle.swd.oui, 2.0.0.8.0 : Oracle Universal Installer 2.2.0.8.0 # oracle.options.ano, 9.2.0.1.0 : Oracle Advanced Security 9.2.0.1.0 # oracle.java.sqlj.sqljruntime, 9.2.0.1.0 : SQLJ Runtime 9.2.0.1.0 # oracle.options.intermedia.imclient, 9.2.0.1.0 : Oracle interMedia Client Option 9.2.0.1.0 # oracle.options.olap.api, 9.2.0.1.0 : Oracle OLAP API 9.2.0.1.0 #Example : DEPENDENCY_LIST = {"oracle.emcltprod","9.2.0.1.0"}#-----------------------------------------------------------------------------DEPENDENCY_LIST={"oracle.networking.netcltprod","9.2.0.1.0","oracle.utilities.util","9.2.0.1.0","oracle.java.jdbc","9.2.0.1.0","oracle.java.jdbc.thin","9.2.0.1.0","oracle.java.sqlj.sqljruntime","9.2.0.1.0"}## Oracle Enterprise Manager Products#[oracle.emcltprod_9.2.0.1.0]#-----------------------------------------------------------------------------# Name : DEPENDENCY_LIST (oracle.emcltprod)# Datatype : StringList# Description : List of optional products to be installed along with# this one. The following choices are available. The# value can contain any combination of these choices.# Note : The products listed are optional dependencies. Any# required dependencies will automatically be installed.# Valid values :# oracle.sysman.client, 9.2.0.1.0 : Oracle Enterprise Manager Client 9.2.0.1.0 # oracle.sysman.pack.change, 9.2.0.1.0 : Oracle Change Management Pack 9.2.0.1.0 # oracle.sysman.pack.diag, 9.2.0.1.0 : Oracle Diagnostics Pack 9.2.0.1.0 # oracle.sysman.pack.tuning, 9.2.0.1.0 : Oracle Tuning Pack 9.2.0.1.0 # oracle.sysman.pack.apps, 9.2.0.1.0 : Oracle Management Pack for Oracle Applications 9.2.0.1.0 # oracle.sysman.pack.std, 9.2.0.1.0 : Management Pack for Oracle Standard Edition 9.2.0.1.0 #-----------------------------------------------------------------------------DEPENDENCY_LIST={ }Notes: I used bold on the lines which i think that may cause the error in the log file...I only want to install these parts:# oracle.networking.netcltprod, 9.2.0.1.0 : Oracle Network Utilities 9.2.0.1.0 # oracle.utilities.util, 9.2.0.1.0 : Oracle Database Utilities 9.2.0.1.0 # oracle.java.jdbc, 9.2.0.1.0 : Oracle JDBC/OCI Interfaces 9.2.0.1.0 # oracle.java.jdbc.thin, 9.2.0.1.0 : Oracle JDBC/THIN Interfaces 9.2.0.1.0
AlBundy33 Posted July 1, 2009 Posted July 1, 2009 This looks like that the directory is cleanup before the installer is done. :-/Can you try this:I think the script is in the oracle-directory.What happens if you open a command prompt and run the script manually (maybe you can start it also from explorer) - does the script wait until the setup is done?If it does you can try this:;!@Install@!UTF-8!RunProgram="START \"\" /WAIT \"%%T\\Oracle_Client\\run_setup.cmd\" -silent -responseFile \"%%T\\Oracle_Client\\install\\win32\\clientcustom.rsp\""GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!or you can run simply the script direct from WPI (simply replace your sfx with the content of you oracle_client-dir and replace the command with the command from config.txt with replaced %%T\Oracle_client)Al
AlBundy33 Posted July 1, 2009 Posted July 1, 2009 The problem was that I uses javaw like the oracle-installer - with java it should work.So try this:1. replace each %TEMP%\Oracle_Client in your response file with .\2. use this config.txt;!@Install@!UTF-8!RunProgram="\"%%T\\Oracle_Client\\run_setup.cmd\" -silent -responseFile \"%%T\\Oracle_Client\\install\\win32\\clientcustom.rsp\""GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!3. use this run_setup.cmd@ECHO OFFSET BASE=%~dp0SET OUI_SRC=%BASE%\stage\Components\oracle.swd.oui\2.2.0.12.0\1\DataFiles\ExpandedSET JRE_SRC=%BASE%\stage\Components\oracle.swd.jre\1.3.1.1.0a\1\DataFiles\ExpandedSET IMG_SRC=%BASE%\install\imagesSET TIMESTAMP=%DATE%_%TIME%SET TIMESTAMP=%TIMESTAMP: =_%SET TIMESTAMP=%TIMESTAMP:.=_%SET TIMESTAMP=%TIMESTAMP::=_%SET TIMESTAMP=%TIMESTAMP:,=_%SET TEMP_DIR=%TEMP%\oracle_install_%TIMESTAMP%:: enable this to log into consoleSET OUTPUT=CON:: enable this to log into a logfileREM SET OUTPUT="%BASE%\%~n0.log"PUSHD "%BASE%"CALL :INSTALL %* >%OUTPUT%POPDGOTO :EOF:INSTALL IF NOT EXIST "%OUI_SRC%" ( ECHO directory not found "%OUI_SRC%"! GOTO :EOF ) IF NOT EXIST "%JRE_SRC%" ( ECHO directory not found "%JRE_SRC%"! GOTO :EOF ) IF NOT EXIST "%IMG_SRC%" ( ECHO directory not found "%IMG_SRC%"! GOTO :EOF ) ECHO initialize "%TEMP_DIR%"... MD "%TEMP_DIR%" XCOPY /Q /S "%OUI_SRC%" "%TEMP_DIR%\oui\" XCOPY /Q /S "%JRE_SRC%" "%TEMP_DIR%\jre\" XCOPY /Q /S "%IMG_SRC%" "%TEMP_DIR%\images\" SET CMD="%TEMP_DIR%\jre\bin\java.exe" -Doracle.installer.library_loc="%TEMP_DIR%\oui\bin\win32" -Doracle.installer.startup_location="%BASE%\install" -Doracle.installer.nlsEnabled="TRUE" -mx48m -cp "%TEMP_DIR%;%TEMP_DIR%\oui\lib\OraInstaller.jar;%TEMP_DIR%\jre\lib\rt.jar;%TEMP_DIR%\jre\lib\i18n.jar" oracle.sysman.oii.oiic.OiicInstaller -scratchPath "%TEMP_DIR%" -sourceLoc "%BASE%\install\../stage/products.jar" -sourceType network %* ECHO running %CMD% CALL %CMD% ECHO cleanup "%TEMP_DIR%"... RD /S /Q "%TEMP_DIR%" GOTO :EOFI think it should work now. :-)--> I tried to install the client from command-prompt with run_setup.cmd -silent -responseFile "%CD%\test.rsp" and it worked (script waits until setup is done and removes the %TEMP_DIR% - only one dll could not deleted).Al
legnireb Posted July 1, 2009 Author Posted July 1, 2009 Hi AlIt works fine...Thanks for all your help...With your precious help it is now done...Thanks again.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now