Import .reg file into 64-bit registry
Is there a way to import a .reg file into the 64-bit portion of the registry on a 64-bit system?
I'm using an ExecWait call to regedit to import the .reg file, but the contents always end up in the Wow6432Node.
Archive: Import .reg file into 64-bit registry
Import .reg file into 64-bit registry
Is there a way to import a .reg file into the 64-bit portion of the registry on a 64-bit system?
I'm using an ExecWait call to regedit to import the .reg file, but the contents always end up in the Wow6432Node.
I would expect you can run the 64bits version of regedit (from %SystemRoot%\System32)to merge the file. You can of course also use SetShellVarContext and import the contents of the .reg file manually.
NSIS has native support for writing to the 64 bit registry, use SetRegView
If you still want to use a .reg, you probably have to turn off file redirection before executing regedit.exe, see x64.nsh (Also note that regedit could be disabled by group policy)
http://forums.winamp.com/showthread....hreadid=268880
http://forums.winamp.com/showthread....hreadid=234908
http://forums.winamp.com/showthread....hreadid=302934
http://forums.winamp.com/showthread....hreadid=297074
http://forums.winamp.com/showthread....hreadid=271710
http://forums.winamp.com/showthread....hreadid=268880
...
Err oops, yeah, I meant SetRegView, not SetShellVarContext. >__<
Originally posted by AndersAnders, you are GOD!
NSIS has native support for writing to the 64 bit registry, use SetRegView
If you still want to use a .reg, you probably have to turn off file redirection before executing regedit.exe, see x64.nsh (Also note that regedit could be disabled by group policy)