Just another Perl shrine | |
PerlMonks |
Perl registry reflection – How?by roteme (Acolyte) |
on Mar 19, 2012 at 06:33 UTC ( [id://960367]=perlquestion: print w/replies, xml ) | Need Help?? |
roteme has asked for the wisdom of the Perl Monks concerning the following question: Hi, I would like to check if some program installed on Win machine. I wrote the following simple code to check it:
The above code successfully run on 32 bit machine. On 64 bit machine the product ID exist only under the following registry path: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B2AE58F9-BF87-4345-9A48-B4C855A484FD}And doesn't exist under the default registry path (Wow6432Node folder): HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{B2AE58F9-BF87-4345-9A48-B4C855A484FD}How I could make my program to read registry values on x64 bit machine from SOFTWARE\Microsoft\… and not from Wow6432Node folder Please advice Thanks
Back to
Seekers of Perl Wisdom
|
|