I have a MSI'd application I am installing, ignoring the %programfiles%
environment variable. From a procmon trace, it seems to be using the value of HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir
instead.
Why might it be doing this (I mean is it common practice to use this value, or is this the only value that is exposed to MSI builders)?
Why does this other registry value exist, when HKCU\Environment\ProgramFiles
& HKLM\System\CurrentControlSet\Control\Session Manager\Environment\ProgramFiles
are available for use?