Paths of the folders in the "Files and Folders" Page

The folders in the "Files and Folders" page use predefined and custom installer properties which store their paths.

Folder NameProperty NameSample PathComments
Application FolderAPPDIRC:\Program Files\Your Company\Your Applicationthis is the default value and it can be configured
Application Shortcut FolderSHORTCUTDIRC:\Documents and Settings\<username>\Start Menu\Programs\Your ApplicationC:\Users\<username>\Start Menu\Programs\Your Application on Vista or above; this is the default value and it can be configured
Program FilesProgramFilesFolderC:\Program FilesC:\Program Files (x86) on a 64-bit machine
Common FilesCommonFilesFolderC:\Program Files\Common FilesC:\Program Files (x86)\Common Files on a 64-bit machine
Program Files 64ProgramFiles64FolderC:\Program Filesresolved only on a 64-bit machine
Common Files 64CommonFiles64FolderC:\Program Files\Common Filesresolved only on a 64-bit machine
Windows VolumeWindowsVolumeC:\
TemporaryTempFolderC:\Documents and Settings\<username>\Local Settings\TempC:\Users\<username>\Local Settings\Temp on Vista or above
WindowsWindowsFolderC:\Windows
FontsFontsFolderC:\Windows\Fonts
SystemSystemFolderC:\Windows\system32C:\Windows\SysWow64 on a 64-bit machine
System 16System16FolderC:\Windows\systemused on older Windows versions
System 64System64FolderC:\Windows\system32resolved only on 64-bit machines
Start MenuStartMenuFolderC:\Documents and Settings\<username>\Start MenuC:\Users\<username>\Start Menu on Vista or above
ProgramsProgramMenuFolderC:\Documents and Settings\<username>\Start Menu\ProgramsC:\Users\<username>\Start Menu\Programs on Vista or above
StartupStartupFolderC:\Documents and Settings\<username>\Start Menu\Programs\StartupC:\users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup on Vista or above
DesktopDesktopFolderC:\Documents and Settings\<username>\DesktopC:\Users\<username>\Desktop on Vista or above
FavoritesFavoritesFolderC:\Documents and Settings\<username>\FavoritesC:\Users\<username>\Favorites on Vista or above
My DocumentsPersonalFolderC:\Documents and Settings\<username>\My DocumentsC:\Users\<username>\Documents on Vista or above
My PicturesMyPicturesFolderC:\Documents and Settings\<username>\My Documents\My PicturesC:\Users\<username>\Pictures on Vista or above
TemplatesTemplateFolderC:\Documents and Settings\<username>\TemplatesC:\Users\<username>\Templates on Vista or above
Send ToSendToFolderC:\Documents and Settings\<username>\SendToC:\Users\<username>\SendTo on Vista or above
Administrative ToolsAdminToolsFolderC:\Documents and Settings\All Users\Start Menu\Programs\Administrative ToolsC:\ProgramData\Start Menu\Programs\Administrative Tools on Vista or above
Application DataAppDataFolderC:\Documents and Settings\<username>\Application DataC:\Users\<username>\AppData\Roaming on Vista or above
Common Application DataCommonAppDataFolderC:\Documents and Settings\All Users\Application DataC:\ProgramData on Vista or above
Network ShortcutsNetHoodFolderC:\Documents and Settings\<username>\NetHoodC:\Users\<username>\AppData\Roaming\Microsoft\Windows\Network Shortcuts on Vista and above
Recent ItemsRecentFolderC:\Documents and Settings\<username>\RecentC:\Users\<username>\AppData\Roaming\Microsoft\Windows\Recent on Vista and above
Printer ShortcutsPrintHoodFolderC:\Documents and Settings\<username>\PrintHoodC:\Users\<username>\AppData\Roaming\Microsoft\Windows\Printer Shortcuts on Vista and above
Local Application DataLocalAppDataFolderC:\Documents and Settings\<username>\Local Settings\Application DataC:\Users\<username>\AppData\Local on Vista or above
Public DocumentsPublicDocumentsFolderC:\Documents and Settings\All Users\Documents\C:\Users\Public\Documents\ on Windows Vista
Windows LibrariesWindowsLibrariesFolderC:\Users\<username>\AppData\Roaming\Microsoft\Windows\Libraries\C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Libraries\ on Windows 7 or above
IIS WWW RootIIsWWWRootFolderC:\Inetpub\wwwroot

All the above folders are predefined for Windows Installer except for the first two folders which are proprietary for Advanced Installer. When the installation package runs, Windows Installer will automatically resolve their paths according to the target machine's configuration.

Depending on the package type, the paths will change; this means that if the package is per-user the paths will use "...\<username>\..." or if it is per-machine the paths will use "...\Public\..." instead.

A special property is "AI_ProgramFiles", which is used only in a "Mixed 32/64-bit matching the platform" installation package. When creating this type of package the presence of this property in the field "Application Folder" from the Install Parameters page is mandatory. The property will automatically resolve to "ProgramFilesFolder" or "ProgramFiles64Folder", depending on the machine's type on which the package is installed.

NoteThe sample paths are from a machine which has Windows installed on the C: drive. Also, <username> represents the name current user's name (the user account on which the installation runs).