In 64 bit versions of windows, 32 bit software is installed in "c:\program files (x86)". This means you cannot use $(programfiles) to get the path to (32 bit) software. So I need a $(programfiles32) to overcome this in my msbuild project. I don't want to change the project depending on the os it is running on.
I have a solution which I will post, but maybe there is a easier/better way.