You failed to mention that this is on a 64-bit OS! You failed to provide any version information at all in fact. Instead you wasted time by changing the font size of your post for no reason, forcing me to edit it.
Executing Regedit.exe from a 32-bit application like NSIS will run the 32-bit version of Regedit.
Why can't you just use WriteRegStr and SetRegView?
IntOp $PostCount $PostCount + 1
|