This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Reading Registry keys dynamically.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 07, 2009
08:30 AM
Reading Registry keys dynamically.
Hi all,
I am facing a problem regarding reading a registry key value dynamically using InstallScript project.
Registry Setting
===========
HKEY_LOCAL_MACHINE
|_Software
|_JavaSoft
|_Java Plug-in
|_1.6.0_05 - JavaHome C:\Program Files\Java\jre1.6.0_05
In this situation, i know the path till Java Plug-in i.e. (HKLM\Software\JavaSoft\Java Plug-in), but i need to get the value of "JavaHome" key, with out referring the folder "1.6.0_05 " because it may vary for different versions.
Kindly help to get rid of this problem
Thanks in Advance
ANG
I am facing a problem regarding reading a registry key value dynamically using InstallScript project.
Registry Setting
===========
HKEY_LOCAL_MACHINE
|_Software
|_JavaSoft
|_Java Plug-in
|_1.6.0_05 - JavaHome C:\Program Files\Java\jre1.6.0_05
In this situation, i know the path till Java Plug-in i.e. (HKLM\Software\JavaSoft\Java Plug-in), but i need to get the value of "JavaHome" key, with out referring the folder "1.6.0_05 " because it may vary for different versions.
Kindly help to get rid of this problem
Thanks in Advance
ANG
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 07, 2009
11:59 AM
Look at the help topic "RegDBQueryKey". You can enumerate the subkeys of HKLM\Software\JavaSoft\Java Plug-in into a list variable, then process that list.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 07, 2009
01:37 PM
Thank U DanGalendar