Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Installer
Properties
Property Reference
 ProgramFilesFolder Property
ProgramFilesFolder Property

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker