Getting Results From Read Registry

Got a problem you cannot solve? Try here.
Post Reply
gstoops
Posts: 5
Joined: Wed Apr 16, 2014 1:05 pm

Getting Results From Read Registry

Post 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.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Getting Results From Read Registry

Post by FrancescoT »

Dear User,

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

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
gstoops
Posts: 5
Joined: Wed Apr 16, 2014 1:05 pm

Re: Getting Results From Read Registry

Post 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.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Getting Results From Read Registry

Post 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/viewt ... f=2&t=9564

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
gstoops
Posts: 5
Joined: Wed Apr 16, 2014 1:05 pm

Re: Getting Results From Read Registry

Post by gstoops »

That was it. I implemented the check for 64 bit mode and the registry checks work as expected.

Thank you.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Getting Results From Read Registry

Post by FrancescoT »

:D
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply