Archive: Registry operations on 64-bit Vista don't work


Registry operations on 64-bit Vista don't work
I'm testing installation, where registry operations like writeregstring or deleteregkey are needed. But all NSIS registry operations don't work on 64 bit Vista (Ultimate). Is there any known workaround, how to make these operations work?
I attached simple example to demonstrate the problem.


You need to use


SetRegView 64
#read/write to 64-bit hive
SetRegView 32

Otherwise since it's a 32-bit process, Windows redirects the registry operations to the Wow64 node.