FOLDER_APPLICATIONS

InstallShield 2025 » InstallScript Language Reference

The FOLDER_APPLICATIONS system variable stores the fully qualified path to the root folder for application folders. The value of this system variable is equal to the value of the system variable PROGRAMFILES when the value of the system variable ALLUSERS is non-zero; when ALLUSERS is FALSE, the value of this system variable is equal to the value of the system variable FOLDER_APPDATA.

This system variable is read-only; if you attempt to assign a value to it, a compiler error results. The value of this system variable is shared among object scripts and between object scripts and the main setup script.

Note:Consider the following information:

When building a project for a 32-bit target platform, by configuring the Architecture setting to x86 in the Build tab of the release in the Releases view on the InstallShield IDE, the value of the FOLDER_APPLICATIONS variable is equal to the value of the PROGRAMFILES system variable.
When building a project for a 64-bit target platform, by configuring the Architecture setting to x64 in the Build tab of the release in the Releases view on the InstallShield IDE, the value of the FOLDER_APPLICATIONS variable is equal to the value of the PROGRAMFILES64 system variable.