Jump to content

Oracle Client with WPI


Recommended Posts

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...

Link to comment
Share on other sites


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 -silent

Also have a look here

Al

Edited by AlBundy33
Link to comment
Share on other sites

Hi AlBundy33

Ths 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?

Link to comment
Share on other sites

;!@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

Link to comment
Share on other sites

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 :thumbup

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Hi Al

Ths for your help..

I tried as you said but i ended with a log file with this :

"silentInstall2009-06-22_02-27-14PM.log

No 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?

:wacko:

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Hi Al

I see your point, and i would like to use your ideia but i´m stuck ...

I explain to you:

1- situation with that folder test

My 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

Link to comment
Share on other sites

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@!

with

FROM_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@!

with

FROM_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.cmd

REM create response-file on demand
ECHO 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).

Greetings

Al

Link to comment
Share on other sites

Hi Al

The 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.

Link to comment
Share on other sites

C:\DOCUME~1\super\LOCALS~1\Temp\7ZipSfx.00b\Oracle_Client\install\win32\clientcustom.rsp

This 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.jar

Does it?

Al

Link to comment
Share on other sites

Hi Al

Here 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: super

Unable 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.jar

Setting value of SHOW_COMPONENT_LOCATIONS_PAGE to false

Setting value of SHOW_CUSTOM_TREE_PAGE to false

Setting value of SHOW_SUMMARY_PAGE to false

Setting value of SHOW_INSTALL_PROGRESS_PAGE to false

Setting value of SHOW_REQUIRED_CONFIG_TOOL_PAGE to false

Setting value of SHOW_OPTIONAL_CONFIG_TOOL_PAGE to false

Setting value of SHOW_RELEASE_NOTES to false

Setting value of SHOW_END_SESSION_PAGE to false

Setting value of SHOW_SPLASH_SCREEN to false

Setting value of SHOW_WELCOME_PAGE to false

Setting value of SHOW_ROOTSH_CONFIRMATION to false

Setting value of SHOW_EXIT_CONFIRMATION to false

Setting value of NEXT_SESSION to true

Setting value of NEXT_SESSION_ON_FAIL to true

Setting value of SHOW_DEINSTALL_CONFIRMATION to false

Setting value of SHOW_DEINSTALL_PROGRESS to false

Setting value of INVENTORY_LOCATION to C:\Program Files\Oracle\Inventory

Setting value of UNIX_GROUP_NAME to

Initializing inventory setup WCCE

Doing operation in inventory setup WCCE

Setting value of CLUSTER_NODES to

*** Cluster Node Selection Page***

ClusterNodes = CLUSTER_NODES =

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...