In Basic MSI project, we are trying to read a registry value using the System Search feature. The value is a folder path "C:\Program Files\Folder". In System Search wizard, we created a new "Registry Entry" item, set the registry key and value properties. DID NOT select the "Search the 64-bit portion" option.

At run time, in 64 bit environment, the value is being read as "C:\Program Files (x86)\Folder". Why is it doing this? Looks like it identifies this value as a folder path and then modifies it.. But we need the value as it is.

Any thoughts why this is happening and how we can prevent this?