Specifying an Application Path for a Component
InstallShield 2016
Project • This information applies to the following project types:
The App Paths registry key is a useful installation-related key that helps an executable file find its .dll files without having to modify the PATH environment variable. An executable file’s App Paths key looks like this:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Filename.exe
A program’s App Paths key typically contains a value named Path, which should contain a semicolon-delimited list of directories where the program’s .dll files could be located. Windows uses this key to find your application and its .dll files if their locations are not already in the system’s path. If an end user moves or renames your application’s executable file through the Explorer shell, Windows automatically updates the file’s App Paths key.
To specify an application path for your component:
|
1.
|
In the View List under Organization, click Setup Design (for installation projects only) or Components. |
|
2.
|
Select the component that you want to configure, and expand its Advanced Settings item. |
|
3.
|
Click the Application Paths item under Advanced Settings. |
|
4.
|
Select the check box of the file for which you would like to create a key. |
|
5.
|
In the Application Path column, enter the paths to the file’s dependencies, or select a Windows Installer folder property from the list rather than hard-coding a path. Separate multiple paths with a semicolon (;). |
See Also
Application Path Settings
Open topic with navigation