Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Perl registry reflection How?

by wwe (Friar)
on Mar 21, 2012 at 11:37 UTC ( #960759=note: print w/ replies, xml ) Need Help??


in reply to Perl registry reflection How?

Take a look at this node: Re: Scanning of 64 Bit registry There are a number of Microsoft articles referenced you may find usefull.


Comment on Re: Perl registry reflection How?
Replies are listed 'Best First'.
Re^2: Perl registry reflection How?
by roteme (Acolyte) on Mar 28, 2012 at 12:31 UTC

    I run Perl exe which compile by Cava Packager x86.

    As i wrote, On 64 bit machine i can't read registry from HKEY_LOCAL_MACHINE\SOFTWARE (x64 registry path) - Only from HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node

    Can someone give me an example how to implement it - read key from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall on x64 machine.

    Thanks

      Hi Monks,

      Can you please advice on my question above.

      Thanks

        Um, what?

        In your original code, it doesn't matter what $SERVER_PLATFORM is, you always use the same $Registry key, both for $SERVER_PLATFORM eq x86 and for when $SERVER_PLATFORM is ne x85

        If the keys are supposed to be different, assign a different key.

        What is the problem? Does assigning a different key work, yes or no?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://960759]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2015-07-30 04:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls