Page 1 of 1

Getting Results From Read Registry

Posted: Thu Apr 17, 2014 11:26 am
by gstoops
Hi. I'm trying to read from the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\22CCD58B53472BE3FCAFF05631111C4062959A43

It's odd that there's a non-guid value at the end, but that's what I'm working with. The Read Registry command is returning no value at all when I try to read this key.

Is there another way to find out if this key exists in the registry?

Thanks.

Re: Getting Results From Read Registry

Posted: Thu Apr 17, 2014 12:13 pm
by FrancescoT
Dear User,

Are you able to read correctly other Keys under the same registry root?

Regards

Re: Getting Results From Read Registry

Posted: Fri Apr 18, 2014 8:39 am
by gstoops
No. I tried other keys in the registry and can't get a value to be returned in the variable.

Can you provide an example of the "correct" way to use the Read Registry command? I must not be doing something right.

Thank you.

Re: Getting Results From Read Registry

Posted: Fri Apr 18, 2014 9:50 am
by FrancescoT
Dear User,

I suppose that probably, you are trying to read a x64 Registry key while your setup runs in 32 bit mode.

Please have a look at the following link, where it is available a sample that demonstrates how to read registry Keys correctly.
http://www.installaware.com/forum/viewtopic.php?f=2&t=9564

Regards

Re: Getting Results From Read Registry

Posted: Fri Apr 18, 2014 12:56 pm
by gstoops
That was it. I implemented the check for 64 bit mode and the registry checks work as expected.

Thank you.

Re: Getting Results From Read Registry

Posted: Tue Apr 22, 2014 8:25 am
by FrancescoT
:D