cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hkjang
Level 4

Registry redirection automatic on Windows 7 and 2008 R2?

I have a 32 bit basic MSI project.
This can be installed on 64 bit machines as well.
There are some registry entries that should go to \HKLM\SOFTWARE\Wow6432Node\My_App on 64 bit machines.
But, I had those reg entries in one component with other reg entries and "64 bit component" was set to "Yes".
So on 2003 x64 and 2008 x64, everything went to "normal" place on 64 bit machines. (HKLM\SOFTWARE\My_App).
But, on Windows 7 x64 and Windows 2008 R2, those reg entries are going to the right place!!! (\HKLM\SOFTWARE\Wow6432Node\My_App)
And, I have no idea why.
Do Windows 7 x64 and 2008 R2 redirect 32 bit reg entries automatically???
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

That behavior doesn't match my understanding for how it is supposed to work (on 2003 and 2008), but does as of 2008 R2 and Windows 7. In short, to not be redirected, they need to be part of a 64-bit component, and those only are really allowed in 64-bit installation packages. Since it sounds like you are describing a 32-bit package (per its template summary), the 64-bit flag on the component would be ignored, and the redirection applied.

This wouldn't explain why it worked differently in earlier versions of Windows, however; perhaps it was a bug they've since fixed?
0 Kudos