The installer sets the ProgramFilesFolder property to the full path of the Program Files folder.
Remarks
Beginning with Windows Vista, applications should use the SHGetKnownFolderPath function and the REFKNOWNFOLDERID type to determine the full path to this folder. Existing applications that use the SHGetFolderPath function and the CSIDL type will continue to work.
| Type of Install | REFKNOWNFOLDERID | CSIDL |
| Per-machine | ProgramFiles ProgramFilesX86 | CSIDL_PROGRAM_FILES CSIDL_PROGRAM_FILESX86 |
| Per-user | ProgramFiles ProgramFilesX86 | CSIDL_PROGRAM_FILES CSIDL_PROGRAM_FILESX86 |
Requirements
| Version | Requires Windows Installer 4.0 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003, Windows XP, and Windows 2000. |
See Also
Properties
Send comments about this topic to Microsoft
Build date: 6/5/2008