Environment Variable for program files.
So I need a Environment Variable for Program Files that maps to Programs Files (x86) on a 64bit computer and Program files on a 32bit computer.
I always thought that's what %ProgramW6432% what just that be it seems to only be evaluating what process runs.
So is my only option to make this consistent across 32bit OS installs and 64bit is to deploy the 32bit MSI and then force it to always install to C:\Program Files\ even though it's 32bit. My OCD doesn't like hardcoding work around so is there a better way that can get me what I need? I suppose I could make a 64bit GPO and 32bit GPO and then I could deploy them separately (and use the 64bit software, but there's no real again in that for this software). and it's more work.