legnireb Posted June 7, 2009 Posted June 7, 2009 Hi again..Thank you all for helping me in my last post...Now i have made a responsefile to install oracle custom client silently...I tested and it work fine ... in my hard disk...I want to create maybe a 7zip file with instruccions to that rsp file run from my windows xp cd made by nlite and WPI programs.But i dont know how to do that...I tried to follow the guide of the config.txt file and 7zsd.sfx creating an arquive file with that rsp file and all the folders from oracle client.. but that didin´t work well...Any idieas?Thanks in advance...
AlBundy33 Posted June 8, 2009 Posted June 8, 2009 (edited) Why do you want to repacked you installer?As I read here you can install it with setup.exe -responseFile -install_oracle11RT.rsp -nowait -force -silent and maybe with setup.exe -responseFile -install_oracle11RT.rsp -wait -force -silentAlso have a look hereAl Edited June 8, 2009 by AlBundy33
legnireb Posted June 8, 2009 Author Posted June 8, 2009 Hi AlBundy33Ths for your help, but i want to able to install it silently in WPI in windows xp cd.How to that´s the problem...i thought creating a config.txt file like this one : Code:;!@Install@!UTF-8!RunProgram="%systemdrive%\teste\Oracle 9i Client\install\win32\setup.exe -silent -responseFile %systemdrive%\teste\Oracle 9i Client\install\win32\oracle920.rsp"InstallPath="%systemdrive%\\test"GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!and made an arquive with oracle client files and the responsefile....I ran the exe file, he created the test folder and copy all the oracle client files in it, but did not create the oracle home and so did not install right....Something is missing...What do you thing of it?
AlBundy33 Posted June 15, 2009 Posted June 15, 2009 ;!@Install@!UTF-8!RunProgram="%systemdrive%\teste\Oracle 9i Client\install\win32\setup.exe -silent -responseFile %systemdrive%\teste\Oracle 9i Client\install\win32\oracle920.rsp"InstallPath="%systemdrive%\\test"GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!Maybe the problem is because of the spaces in your path.You can try this RunProgram="""%systemdrive%\teste\Oracle 9i Client\install\win32\setup.exe"" -silent -responseFile ""%systemdrive%\teste\Oracle 9i Client\install\win32\oracle920.rsp"""If this does not work write a batchfile to start your setup.Al
legnireb Posted June 20, 2009 Author Posted June 20, 2009 Hi AlBundy33!ths for your help..I succeded making like this :;!@Install@!UTF-8!RunProgram="%systemdrive%\\test\\Oracle_Client\\install\\win32\\setup.exe -silent -responseFile %systemdrive%\\test\\Oracle_Client\\install\\win32\\clientcustom.rsp"InstallPath="%systemdrive%\\test"GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!It creates the test folder and copies the entire oracle client instalation files to it , and starts silent instalation after that... all ends with no errors..Now i ask , is there a way to delete that "Test" folder after instalation?Ths for the help you in advance
AlBundy33 Posted June 20, 2009 Posted June 20, 2009 You can try this:;!@Install@!UTF-8!RunProgram="%systemdrive%\\test\\Oracle_Client\\install\\win32\\setup.exe -silent -responseFile %systemdrive%\\test\\Oracle_Client\\install\\win32\\clientcustom.rsp"RunProgram="RD /S /Q %systemdrive%\\test"InstallPath="%systemdrive%\\test"GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!As I've read here you can also try to remove the InstallPath:If the 'InstallPath' value is not present in the config file or the path was deleted from the interactive extraction dialog, the archive will be extracted to a temporary folder. This temporary folder will be deleted after the extraction and execution of all commands.So maybe this could work:;!@Install@!UTF-8!RunProgram="Oracle_Client\\install\\win32\\setup.exe -silent -responseFile Oracle_Client\\install\\win32\\clientcustom.rsp"GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!Al
legnireb Posted June 22, 2009 Author Posted June 22, 2009 Hi AlThs for your help..I tried as you said but i ended with a log file with this :"silentInstall2009-06-22_02-27-14PM.logNo forced value specified for the variable ORACLE_HOME, associated with property ToLocation, in dialog File Locations."I Made some changes in the rsp file, FROM_LOCATION="Oracle_Client\stage\products.jar" ORACLE_HOME="C:\Oracle\ora92", here i changed from %systemdrive% to C:ORACLE_HOME_NAME="OraHome92"I think the instalation is lost, but where?
AlBundy33 Posted June 22, 2009 Posted June 22, 2009 You can do a search on your harddrive. :-)Or you can try this:;!@Install@!UTF-8!RunProgram="\"%%T\\Oracle_Client\\install\\win32\\setup.exe\" -silent -responseFile \"%%T\\Oracle_Client\\install\\win32\\clientcustom.rsp\""GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!Al
legnireb Posted June 24, 2009 Author Posted June 24, 2009 Hi AlI see your point, and i would like to use your ideia but i´m stuck ...I explain to you:1- situation with that folder testMy config.txt :;!@Install@!UTF-8!RunProgram="%systemdrive%\\test\\Oracle_Client\\install\\win32\\setup.exe -silent -responseFile %systemdrive%\\test\\Oracle_Client\\install\\win32\\clientcustom.rsp"InstallPath="%systemdrive%\\test"GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!My custom.rsp file:FROM_LOCATION="%systemdrive%\test\Oracle_Client\stage\products.jar"You see?In my rsp file the line "FROM_LOCATION= referes the "test" folder where the extraction took place to...No problem with this part, only i have to delete that folder "test" after instalation myself and i wanted this process automatic...2- Using your idea, which i think it´s really the best;In the custom.rsp file i have to indicate the place where the oracle "products.jar" are. do you see what i mean?I can use the config.txt with your code:;!@Install@!UTF-8!RunProgram="\"%%T\\Oracle_Client\\install\\win32\\setup.exe\" -silent -responseFile \"%%T\\Oracle_Client\\install\\win32\\clientcustom.rsp\""GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!But i need your help again in the line "FROM_LOCATION" in rsp file...I already tried like that:FROM_LOCATION="\"%%T\Oracle_Client\stage\products.jar"but the log says that it did not found the response file.leg
AlBundy33 Posted June 24, 2009 Posted June 24, 2009 At first: This FROM_LOCATION="\"%%T\Oracle_Client\stage\products.jar" could not work because the installer knows nothing about the 7z-variables.1. Try;!@Install@!UTF-8!RunProgram="\"%%T\\Oracle_Client\\install\\win32\\setup.exe\" -silent -responseFile \"%%T\\Oracle_Client\\install\\win32\\clientcustom.rsp\""GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!withFROM_LOCATION=".\Oracle_Client\stage\products.jar"Maybe this can solve your problem.2. Try:;!@Install@!UTF-8!SetEnvironment="TEMP_DIR=%%T"RunProgram="\"%%T\\Oracle_Client\\install\\win32\\setup.exe\" -silent -responseFile \"%%T\\Oracle_Client\\install\\win32\\clientcustom.rsp\""GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!withFROM_LOCATION="%TEMP_DIR%\Oracle_Client\stage\products.jar"This should work if you could use environment-variables in your response-file.3. Try;!@Install@!UTF-8!RunProgram="\"%%T\\createResponseFile.cmd\""RunProgram="\"%%T\\Oracle_Client\\install\\win32\\setup.exe\" -silent -responseFile \"%%T\\clientcustom.rsp\""GUIMode="2"RunProgram="hidcon:cmd /c";!@InstallEnd@!with this createResponseFile.cmdREM create response-file on demandECHO FROM_LOCATION="%~dp0\Oracle_Client\stage\products.jar">"%~dp0clientcustom.rsp"This works only if FROM_LOCATION is the only entry in your response-file - if not we need a more complex script.In my opinion the first and the second methods are the best one - so if they don't work please post the installer-log (maybe only some paths are wrong).GreetingsAl
legnireb Posted June 24, 2009 Author Posted June 24, 2009 Hi AlThe first one did not work.Here the log:*** Welcome Page***The specified response file C:\DOCUME~1\super\LOCALS~1\Temp\7ZipSfx.00b\Oracle_Client\install\win32\clientcustom.rsp is not found.Setting value of FROM_LOCATION to C:\DOCUME~1\super\LOCALS~1\Temp\7ZipSfx.00b\Oracle_Client\install\../stage/products.jarSetting 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 NEXT_SESSION to trueSetting value of NEXT_SESSION_ON_FAIL to trueSetting 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.I´ll try the second and post here the results.
AlBundy33 Posted June 24, 2009 Posted June 24, 2009 C:\DOCUME~1\super\LOCALS~1\Temp\7ZipSfx.00b\Oracle_Client\install\win32\clientcustom.rspThis looks really good.What the content of you archive?If it look at least like this it should work:Oracle_Client + install + win32 + clientcustom.rsp + setup.exe + stage + products.jarDoes it?Al
legnireb Posted June 24, 2009 Author Posted June 24, 2009 Hi AlHere is the log from the second try:Environment variables: ORACLE_HOME = PATH = C:\DOCUME~1\super\LOCALS~1\Temp\OraInstall2009-06-24_10-10-43PM\oui\bin\win32;C:\Program Files\Satsuki Decoder Pack\Filtres;C:\Program Files\Satsuki Decoder Pack\Filtres;C:\Program Files\Satsuki Decoder Pack\Filtres;C:\Program Files\Satsuki Decoder Pack\Filtres;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: superUnable to read the list of homes from the inventory.The installer version is 2.2.0.12.0*** Welcome Page***The specified response file C:\DOCUME~1\super\LOCALS~1\Temp\7ZipSfx.000\Oracle_Client\install\win32\clientcustom.rsp is not found.Setting value of FROM_LOCATION to C:\DOCUME~1\super\LOCALS~1\Temp\7ZipSfx.000\Oracle_Client\install\../stage/products.jarSetting 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 NEXT_SESSION to trueSetting value of NEXT_SESSION_ON_FAIL to trueSetting value of SHOW_DEINSTALL_CONFIRMATION to falseSetting value of SHOW_DEINSTALL_PROGRESS to falseSetting value of INVENTORY_LOCATION to C:\Program Files\Oracle\InventorySetting value of UNIX_GROUP_NAME to Initializing inventory setup WCCEDoing operation in inventory setup WCCESetting value of CLUSTER_NODES to *** Cluster Node Selection Page***ClusterNodes = CLUSTER_NODES =
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now