PDA

View Full Version : JRE Version check in Custom Installation Requirement



ParthMehta
05-02-2013, 07:44 AM
Dear all,

I want to add a validation of checking JRE version during the installation of the application.
So, found that the best way is to create a custom software condition for registry entry of :

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment

On just checking whether the registry key is found or not, it never detected even when the registry was there.

Then further on checking the version of the JRE registry as follows :

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion

And tried to check the value to be greater then 1.6 by putting the Registry value as :
>1.6
or even
1.7

it never validated the conditions successfully.

Please provide some suggestions to solve it.

DebbieL
05-03-2013, 08:42 AM
Which product are you using?

You would probably be better off posting this in the product-specific community forum:
http://community.flexerasoftware.com/forumdisplay.php?1-Products