InstallWizard Directory Specifiers

One of the biggest considerations in creating a setup is accounting for the differences between the various target systems of your users. You have no way of knowing where a particular user will want to install your application, nor even where the main Windows and System directories are on that system.
For that reason, InstallWizard includes a set of directory specifiers which are replaced by information about the user's system during the installation. They are used whenever you need to express the location of a file after it has been copied to the target system.

<INSTALLDIR> This specifier is replaced with the main installation directory selected by the user during the setup process. The user selects this directory in the Choose Destination Location
dialog (although, in an installation with multiple setup types, he may override his earlier selection in either the Setup Type or Custom Setup user dialog).

<WINDIR> This specifier is replaced with the main Windows directory on the target system (e.g. C:\WINDOWS).

<WINSYSDIR> This specifier is replaced with the Windows System directory on the target system (e.g. C:\WINDOWS\SYSTEM). If the target machine is running Windows NT, this specifier will indicate the SYSTEM32 directory if you have a 32-bit setup.

<WINDISK> This specifier is replaced with the drive letter of the disk containing the Windows directory (e.g. C:).

<ProgramFilesDir> This specifier is replaced with the Program Files directory on the target system (e.g. C:\PROGRAM FILES). In Windows 95, the Program Files directory location is stored in the registry under the "ProgramFilesDir" value name.

<CommonFilesDir> This specifier is replaced with the Common Files directory on the target system (e.g. C:\PROGRAM FILES\COMMON FILES). In Windows 95, the Common Files directory location is stored in the registry under the "CommonFilesDir" value name.