I am developing the AdvanceInstaller software for a java application which can be installed on both 32 bit and 64 bit windows machine .We have to check the JRE version and JRE build number in Prerequisites section
For this purpose we have added FileVersion check "!HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\1.6\JavaHome!\bin\java.exe" in addition to
Normal JRE registry file check of "HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion" in install conditions of JRE prerequisites.
If any of this check got failed our instllaer will notify the user to Install the JREwhich bundled with the installer
But if we Install the 32 bit JRE 7 on 64 bit Windows .The registry values are created under the new regitry location "HKEY_LOCAL_MACHINE\Software\Wow6432Node\JavaSoft\".so
so can any one help me on How to check JRE while checking "prerequisites" on both 32 bit and 64 bit windows OS
FOLLOW US
Get the latest news in Application Packaging