Share via


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)
  • \Windows\System (Windows 95 or later)

  • \Winnt\System32 (Windows NT)
Setup1 Files and Bootstrap Files
$(WinSysPathSysFile)
  • \Windows\System (Windows 95 or later)

    The file is installed as a system file and is not removed when the application is removed.

  • \Winnt\System32 (Windows NT)
Setup1 Files only
$(WinPath)
  • \Windows (Windows 95 or later)

  • \Winnt (Windows NT)
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