File Association - Override Oracle JRE settings

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
c.sottile
Posts: 14
Joined: 21 Jun 2021, 15:40

File Association - Override Oracle JRE settings

Post by c.sottile »

Hi all,

Does OWS unattended installation allows to override "file association" settings of a previous Oracle JRE installation?

If this is not possible, what other alternatives can be considered?

Thank you,
Carmelo

Janak Mulani
Posts: 726
Joined: 24 Mar 2020, 13:37

Re: File Association - Override Oracle JRE settings

Post by Janak Mulani »

On windows, if you had .jnlp file extension associated with Oracle JWS then the following Registry entry would exist:

Code: Select all

Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jnlp\UserChoice
The above key will have attribute ProgId pointing to ProgId of Oracle JWS exe, for example, JNLPFile defined as Computer\HKEY_CLASSES_ROOT\JNLPFile

When you double-clk on a .jnlp file Oracle JWS is started.

When you run OWS's Unattended Installer. it will remove the above mentioned UserChoice key from the registry.

Now when you double-clk on a .jnlp, it will ask you to choose a program. You can choose OWS Launcher an choose "Always use this app to open .jnlp" to associate .jnlp with OWS:
DefineFileAssociation.png
DefineFileAssociation.png (24.8 KiB) Viewed 4410 times

c.sottile
Posts: 14
Joined: 21 Jun 2021, 15:40

Re: File Association - Override Oracle JRE settings

Post by c.sottile »

Hi,
thank you for the explanations provided. They have been very helpful.

I take this opportunity to ask you a couple of questions:
  1. There is any way to impose OWS File Association to all users during the installation phase starting from the response? Without the user having to choose it?
    At the moment our response.var file contains the following configuration:

    Code: Select all

    sys.fileAssociation.extensions$StringArray="jnlp","jnlpx"
  2. It is possible to increase "unattended installation mode" verbosity logging?
Thank you,
Carmelo

Janak Mulani
Posts: 726
Joined: 24 Mar 2020, 13:37

Re: File Association - Override Oracle JRE settings

Post by Janak Mulani »

OWS's Unattended Installer will make the file association but (as far as I know and tried) it will not override the existing UserChoice in the registry.

For the Installer command line options, please see https://www.ej-technologies.com/resourc ... tions.html

Post Reply