http://www.perlmonks.org?node_id=1007222


in reply to Re: access 64bit registry from 32 bit Perl
in thread access 64bit registry from 32 bit Perl

I had run the two versions of regedit on command line. I found the 32bit regedit.exe didn't contain "Wow6432Node" at all, the 64 bit version provide that node. As my program export always "Wow6432Node" node into the .reg file, I don't think what I called is a 32 bit version.
  • Comment on Re^2: access 64bit registry from 32 bit Perl

Replies are listed 'Best First'.
Re^3: access 64bit registry from 32 bit Perl
by bulk88 (Priest) on Dec 05, 2012 at 19:13 UTC
    I dont understand what you want to do. You have a .reg file, that needs to be applied, without redirection, to the registry? Then use the 64bit regedit. If your .reg file is getting the redirection, then you are calling the 32 bit regedit. You have to use an absolute path with "Sysnative" folder (google it) in it to reach the 64 bit regedit from a 32 bit perl.
      OK, I googled and understand your meaning. But strange my Win7 didn't got a Sysnative folder, I only see system32 and sysWOW64.