My application is built using the "Any CPU
" configuration. The WIX installer for the application is built with platform=x86
so the resultant MSI is 32-bit.
When I run the 32-bit MSI on a 64-bit Windows. The [ProgramFilesFolder]
property is resolved to "C:\Program Files (x86)" and the registry paths are resolved to the Wow6432Node
. When I run the application, the process is 64bit - as expected.
As far as I understand after reading lots of related posts on SO. On a 64-bit Windows, to make the [ProgramFilesFolder]
resolved to "C:\Program Files" and registry path to normal path (not under Wow6432Node
). I need a separate 64-bit MSI. Which I am trying to avoid - For me, to have a separate 64-bit MSI merely for [ProgramFilesFolder]
and regsitry path to resolve to correct location is not worthwhile. As long as my program still runs 64-bit on a 64-bit Windows, I don't really care about it is installed at "C:\Program Files (x86)" by default and some registry values exist at Wow6432Node
.
So, my question is, is there the other consequences when I install a "AnyCPU" program on a 64-bit Windows using a 32-bit MSI other than by default the installDir is "C:\Program Files (x86)" and some registry values are stored under the Wow6432Node
?