harcooded program path have issues installing

Harcooded program path have issues installing ?

I've read somewhere That applications with hardcoded paths to Program Files may have issues installing and running on the 64-bit version of Windows Vista. Is this true. Some explanation would be reallly good as this point in time? Is the reference website for this on MS

I think this is true. 32-bit applications run in the wow64 subsystem (seems backwards doesn't it) ,anyway, this sub system has different enviorment variables.
Environment Variable 64-bit Value 32-bit Value PROCESSOR_ARCHITECTURE Native (AMD64 or IA64) x86 PROCESSOR_ARCHITEW6432 N/A %PROCESSOR_ARCHITECTURE% ProgramFiles %ProgramFiles% %ProgramFiles(x86)% ProgramW6432 N/A %ProgramFiles% CommonProgramFiles %CommonProgramFiles% %CommonProgramFiles(x86)% CommonProgramW6432 N/A %CommonProgramFiles%
Source: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/win64/win64/file_system_redirector.asp
I think this could mean that if you hard code it to program files, since your install engine has to be 64-bit, that could put you in a spot.
See if the app uses the enviornment varible in WOW64 it would get the wrong path returned and no app would be found.
Josh http://windowsconnected.com
"gv" wrote in message

I've read somewhere That applications with hardcoded paths to Program Files may have issues installing and running on the 64-bit version of Windows Vista. Is this true. Some explanation would be reallly good as this point in time? Is the reference website for this on MS

Windows Vista

Topic:


Nick: