I have a 32 bit installation which uses the RegLocator table to retrieve the path location of the winword.exe file using the reg key below.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Winword.exe
I assigned a property to store the path location and the installation wizard populates the property successfully. However, if the winword.exe file is for a 64 bit installation of MS Office the property value does not match he value in the registry.
In other words if the value on the registry is:
C:\Program Files\Microsoft Office\Root\Office16\
The property will be populated with the value:
C:\Program Files (x86)\Microsoft Office\Root\Office16\
I see the logic that the setup is 32 bit and the value is for a 64 bit installation of MS Office but shouldn't the property be populated with the actual value that is retrieved from the registry? I've tried changing the value type to path (0) and also regular value (2).
Any help is greatly appreciated.