Quantcast
Channel: Flexera Community Forums
Viewing all articles
Browse latest Browse all 4553

JRE Version check in Custom Installation Requirement

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

Viewing all articles
Browse latest Browse all 4553

Trending Articles