Install Shield Replacement Variables

You can use the following install shield replacement variables with install directory options rather than hard coding paths.

Variable Description
%TARGETDIR% This variable implies the target directory of the install and resolves to the root of the installation. If you include any additional path information to this path, the installation will follow/create the directory and path accordingly. For example, if the installation path is c:\publisher, %TARGETDIR%\documents would resolve to c:\publisher\documents.
%TARGETDISK% This variable implies the name of the target destination disk.
%WINDIR% This variable implies the fully qualified path to the folder that contains the main operating environment.
%WINSYSDIR% This variable implies the fully qualified path to the Windows system folder.
%COMMONFILES% This variable implies the fully qualified path to the common files folder
%PROGRAMFILES% This variable implies the fully qualified path to the Program files folder.
%SRCDIR% This variable implies the location (directory path) of the source files reside that you want to copy.
%SRCDISK% This variable implies the disk or drive where the source files reside that you want to copy.