MSDN Archive Home
Help and FAQs
Bootstrapper Manifest Generator
All Resource Updates
Create New Discussion
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
MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" RegValue="Java7FamilyVersion" Property="Java7FamilyVersion" />
<UIInstallCondition Type="ByPassIf" Property="Java7FamilyVersion" Operator="Ver >=" Value="1.7.0
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
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.
Sign in to post message or set email notifications
Manage Your Profile
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.