![]() |
#1 |
Member
Join Date: Oct 2007
Posts: 64
|
EnumUsersReg and SetRegView
Hello world,
being 32-bit executables, NSIS installers are subject to registry redirection on 64-bit systems. So "HKCU\Software\..." and "HKLM\Software\..." are redirected to "HKCU\Software\Wow6432Node\..." and "HKLM\Software\Wow6432Node\..." unless "SetRegView 64" is used. But how about the HKU user subkeys, e. g. the temporary user subkey that is used by "EnumUsersReg.nsh"? Is this also subject to redirection, so that "TempKey\Software\..." effectively goes to "TempKey\Software\Wow6432Node\..."? (And, if so, will "SetRegView 64" also disable the redirection here?) I know I could just try, but I won't have an NSIS machine at hand for some days, and I'm curious. |
![]() |
![]() |
![]() |
#2 |
Member
Join Date: Oct 2007
Posts: 64
|
![]()
Now I had a chance to try... and the answer is NO. Registry access to HKU user subkeys that are adressed via EnumUsersReg is NOT redirected. This holds regardless of the SetRegView setting.
(I'm sharing this just in case that anyone else is interested.) |
![]() |
![]() |
![]() |
#3 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,352
|
All Wow64 keys are documented @ https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx but the list only includes HKLM and HKCU.
I guess they forgot about HKU when they implemented this. IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#4 |
Member
Join Date: Oct 2007
Posts: 64
|
Thanks for the MSDN page link!
![]() |
![]() |
![]() |
![]() |
|
Tags |
registry, wow64 |
Thread Tools | Search this Thread |
Display Modes | |
|
|