Visual Basic Concepts
Path Parameter Macros in Setup.lst Files
The Path argument in the Setup.lst file represents the location to which the file should be installed. The value used for this argument is either an actual path or a macro indicating a path specified by the user. The following tables list the macros that can be used in the installation.
Macro | Installs a file in this directory | Valid for this section |
$(WinSysPath) |
|
Setup1 Files and Bootstrap Files |
$(WinSysPathSysFile) |
|
Setup1 Files only |
$(WinPath) |
|
Setup1 Files and BootStrap Files |
$(AppPath) | The application directory specified by the user, or the DefaultDir value specified in the Setup section. | Setup1 Files only |
$(AppPath)\Samples | \Samples, beneath the application directory. | Setup1 Files only |
\path (for example, c:\) | The directory identified by path (not recommended). | Setup1 Files only |
$(CommonFiles) | \Program Files\Common Files\
Often combined with a subdirectory, as in $(CommonFiles)\My Company\My Application. |
Setup1 Files only |
$(CommonFilesSys) | $(CommonFiles)\System | Setup1 Files only |
$(ProgramFiles) | \Program Files | Setup1 Files only |