I have 64bit ODAC for Oracle client 11.2.0.3.0 to 'package' as a prerequisite . It is using the Oracle Universal Installer.  there is a setup config file with the following :-

[Install]

INTERACTIVE_ARGS= -local  

SILENT_ARGS= -local

Has anyone out there done this one and if so what methods have they used.

Answer Summary:
This product uses the standard Oracle Installer, that many other Oracle products use. Record a response file of your installation/configuration by launching setup.exe with the record switch: setup.exe -record -destinationFile e.g setup.exe -record -destinationFile C:\odac.rsp Open the .rsp file in notepad and modify the 'FROM_LOCATION'. It will contain an absolute path to where you called the installer from to record it. This can be set to a relative path by using the example in the commented out section above this setting. Running 'setup.exe -help' will show you the other command line options you can specify. The below will probably be the ones you require, but there may be others that will help. -responseFile (runs the installer with the response file you created) -noconsole (hides the console window that runs) -force (forces installation into an non empty folder) -silent (silent) -waitforcompletion (installer will wait for completion instead of spawning the java engine and exiting) There is also a -deinstall switch, which along with the -silent -noconsole -responseFile swithces can be used to produce a silent uninstallation. If you wanted to clean up shortcuts etc, or add any other customisation it might be useful to create a vb script to call the installer and make the modifications required.
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

2

This product uses the standard Oracle Installer, that many other Oracle products use.

Record a response file of your installation/configuration by launching setup.exe with the record switch:

setup.exe -record -destinationFile <response_file_name>

e.g

setup.exe -record -destinationFile C:\odac.rsp

Open the .rsp file in notepad and modify the 'FROM_LOCATION'. It will contain an absolute path to where you called the installer from to record it. This can be set to a relative path by using the example in the commented out section above this setting.

Running 'setup.exe -help' will show you the other command line options you can specify.

The below will probably be the ones you require, but there may be others that will help.

-responseFile <location of file> (runs the installer with the response file you created)

-noconsole (hides the console window that runs)

-force (forces installation into an non empty folder)

-silent (silent)

-waitforcompletion (installer will wait for completion instead of spawning the java engine and exiting)

There is also a -deinstall switch, which along with the -silent -noconsole -responseFile swithces can be used to produce a silent uninstallation.

If you wanted to clean up shortcuts etc, or add any other customisation it might be useful to create a vb script to call the installer and make the modifications required.

Hope that helps,

Dunnpy

Answered 02/08/2013 by: dunnpy
Red Belt

  • Thanks dunnpy thats exactly what i need
  • I have created .rsp of installation , but the issue is i not getting how to uninstall this application silently i have tried with following switches but its not possible.. even i have tried to make .rsp for uninstall but the .rsp for uninstall is not getting created..........
    IF SOMEONE HAVE PROPER STEPS TO SILENT UNINSTALL THIS APP PLZ POST IT
    THANKS IN ADVANCE.
  • It's going to be the same .rsp file for the uninstall as the installation.
    Is it that the -deinstall switch isn't working with the other associated switches I mentioned not working?
    What does running the setup.exe -help show as uninstallation switches?

    The OP (oreillyr) used the below for their uninstall command line:

    setup.exe -responseFile <Path And File Name of .rsp> -force -silent -noconsole -ignoresysPrereqs -waitforcompletion -deinstall

    This uninstalled it silently for them, bearing in mind this was the 64bit version.

    Dunnpy
Please log in to comment
Answer this question or Comment on this question for clarity