COMMONFILES64

InstallShield 2012 Spring » InstallScript Language Reference

The COMMONFILES64 system variable contains the fully qualified name of the folder that is defined by Windows and that stores files shared by 64-bit applications. In English Windows, that folder is named Common Files, and it is located in the PROGRAMFILES64 folder. (In other language versions of Windows, the common files folder name is localized appropriately by default.) The common files folder is the recommended default location for files and folders that are shared by applications.

Project: During setup initialization in InstallScript installations, the value of the COMMONFILES64 variable is obtained by calling the Windows API function SHGetSpecialFolderPath with the CSIDL_COMMON_FILES parameter from a 64-bit executable file.

In Basic MSI and InstallScript MSI installations, the value of the COMMONFILES64 variable is initialized based on the Windows Installer property CommonFiles64Folder. Note that deferred, commit, and rollback custom actions do not have access to this property. Therefore, the corresponding COMMONFILES64 variable is empty in deferred, commit, and rollback custom actions. To learn more, see Accessing or Setting Windows Installer Properties Through Deferred, Commit, and Rollback Custom Actions.

See Also