InstallShield 2019
Project • This information applies to the following project types:
• | Advanced UI |
• | Basic MSI |
• | DIM |
• | InstallScript |
• | InstallScript MSI |
• | InstallScript Object |
• | Merge Module |
• | QuickPatch |
• | Suite/Advanced UI |
Predefined path variables are variables that are set to certain standard Windows directories. These variables cannot be renamed or modified, but they can be used in your installation project to point to predefined directories. Following is a list of predefined path variables, their typical values, and the corresponding InstallScript path variables. (In an InstallScript project, InstallScript path variables are used in InstallShield, for example, as options in the list for the Destination property of a component. InstallScript path variables also correspond to system variables that can be used in the installation script.)
Predefined Path Variable |
Value |
InstallScript Path Variable |
<CommonFilesFolder> |
C:\Program Files\Common Files\ |
<COMMONFILES> |
<ISProductFolder> |
C:\Program Files\InstallShield\2019 |
|
<ISProjectDataFolder> |
<ISProjectFolder>\ProjectName |
<ISPROJECTDIR> |
<ISProjectFolder> |
C:\InstallShield 2019 Projects\ |
|
<ISRedistPlatformDependentExpressFolder> |
C:\Program Files\InstallShield\2019\Redist\Language Independent\i386 Express |
|
<ISRedistPlatformDependentFolder> |
C:\Program Files\InstallShield\2019\Redist\Language Independent\i386 |
|
<ProgramFilesFolder> |
C:\Program Files\ |
<PROGRAMFILES> |
<SystemFolder> |
C:\Windows\System32\ |
<WINSYSDIR> |
<VSSolutionFolder> |
Varies. This variable references a higher-level base directory. This support enables you to have in your InstallShield projects static links to files in sibling projects that are within the Visual Studio solution folder. To learn more, see Using the VSSolutionFolder Path Variable with Visual Studio Solutions. |
|
<WindowsFolder> |
C:\Windows\ |
<WINDIR> |
Using Predefined Path Variables
Project • Windows Installer based projects only: The Path Variable Recommendation dialog box enables you to specify whether you want to use predefined path variables. This dialog box is launched if you enter a hard-coded path when inserting a source file into your installation and you have selected the Always display the Path Variable Recommendation dialog to me check box on the Path Variables tab of the Options dialog box. If you enter a path that is included in a predefined path variable, InstallShield suggests that you use the path variable rather than the hard-coded path.
You can also use predefined path variables when defining the value for a standard path variable. You may want to define a standard path variable to a subfolder of a predefined variable. For example, <ProgramFilesFolder>\InstallShield could be used as the value for a standard path variable.
Predefined path variables are smart variables. This means they are set to the correct directory, even if your Windows directory is located on your D drive instead of your C drive. If you change the default project location on the File Locations tab of the Options dialog box, InstallShield updates this variable to reflect the new directory.
See Also
InstallShield 2019 Help LibraryApril 2019 |
Copyright Information | Flexera |