Created On:  14 January 2011

Problem:

We are trying to find the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Excel\InstallRoot in a Windows7 64 bit environment.On page 3 in “When I’m 64” it says (the example with AcmeSoft) that software in 32 bit versions was located in KEY_LOCAL_MACHINE\Software\AcmeSoft is now located in HKEY_LOCAL_MACHINE\Software\Wow6432Node\AcmeSoftUnder 32 bit programs he searches for an Excel installation in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Excel\InstallRoot – that works fine.So based on the “When I’m 64” article, we should be able to find the same information on 64 bit Windows in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Excel\InstallRoot – but can’t cause the entry doesn’t exist in the registration DB.What needs to be done?

Resolution:

When you accesses the registry, you should not worry about the WOW6432Node, Windows will apply this automatically if the application is 32 bit.WOW6432Node is a hive that you normally should not worry about, the article is discussing the various aspects of the 64bit version of Windows, and what to do, in case you need to go outside the normal route.If he with a 32bit version of ACUCOBOL-GT wants to read value InstallPath from the registry, he should use use HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Excel\InstallRoot.Windows will behind the scenes redirect this to the Wow6432Node, because this version of ACUCOBOL-GT is 32 bit.Whether application information resides in both HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node or HKEY_LOCAL_MACHINE\SOFTWARE depends on the version of the application that wrote the registry entry. If you have installed a 32bit version of Office, there will be no entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Excel\InstallRoot, but HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\14.0\Excel\InstallRoot only.You can see this if you try to write a registry entry with ACUCOBOL-GT 32 bit, you will find it in the HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node hive, but not the other. If you try to write a registry entry with ACUCOBOL-GT 64 bit, you will find the opposite.
Incident #2495347