Hi all,

We want to migrate this year from Windows XP 32bit's to Windows 7 64 bit. Now is the problem that all 32bit's app's on are installed in c:\Program Files, but on Windows 7 they are installed in c:\Program Files (64)\.
Since i don't want to make new application objects for each item, how can i make one command to fit both environments.
Using the sysvar 'ProgramFiles' doesn't work, as this points at the same directory on a 64bit machine as on a32bit:

ProgramFiles=C:\Program Files
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)

Anyone with good idea's? I don't want to invent the wheel twice :-).