Getting Results From Read Registry

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

Getting Results From Read Registry

Postby gstoops » Thu Apr 17, 2014 11:26 am

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

Postby FrancescoT » Thu Apr 17, 2014 12:13 pm

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

Postby gstoops » Fri Apr 18, 2014 8:39 am

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

Postby FrancescoT » Fri Apr 18, 2014 9:50 am

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
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

Postby gstoops » Fri Apr 18, 2014 12:56 pm

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

Postby FrancescoT » Tue Apr 22, 2014 8:25 am

: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


Return to “Technical Support”

Who is online

Users browsing this forum: Baidu [Spider] and 73 guests