Skip to content
⌘ NSIS Forum Archive

Registry operations on 64-bit Vista don't work

2 posts

level2#

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.
goldy1064#
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.