Wiki Link: [discussion:6765]
Unable to read registry value 

Jan 2 at 12:56 PM
I am currently creating a msi file and exe file with custom prerequisite . I wanted to check whether JRE is installed in that machine or not .
My installation condition is like this
<RegistryCheck RegKey="HKEYLOCALMACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" RegValue="Java7FamilyVersion" Property="Java7FamilyVersion" />
<UIInstallCondition Type="ByPassIf" Property="Java7FamilyVersion" Operator="Ver >=" Value="1.7.025" Message="SampleCheck" />
But in some machines , i am unable to read the Java7FamilyVersion value , it throws "Unable to read registry value error"
32 bit machine works fine , issue is seen only on 64 bit machines that too SP2 ( Server version throws error) . Windows 7 Professional edition works fine.
Your help is much appreciated.

Feb 4 at 1:51 PM
Edited Feb 4 at 3:21 PM
I have the same problem ["Unable to read registry value " but the registry key is HKLM\SOFTWARE\JavaSoft\Java Runtime Envitonment' and property is CurrentVersion. I also tried by creating another registry key [HKLM\SOFTWARE\Movivation] with value CurrentVersion. but I got the same result.

Page view tracker