Symptoms
Installation macros can be used throughout the steps of the Package andDeployment Wizard (PDW) to install files to specific locations. Thisarticle documents the available installation macros and what the macroswill equate to during the installation process.
Resolution
These macros will be used by both Setup.exe and Setup1.exe to install filesto common system directories. These macros may be modified after thedistribution set has been created by modifying the Setup.lst file createdby the PDW. See the REFERENCES section of this article for additional information regarding Setup1 files and Bootstrap files.
$(WinSysPath)
This macro installs files to the System subdirectory under the Windowsdirectory. The paths below are typical paths to the Windows\Systemdirectory. This macro can be used for both Setup1 Files and BootstrapFiles.

\Windows\System (Windows 95 or later)\Winnt\System32 (Windows NT 4.0 and later)
$(WinSysPathSysFile)
This macro installs files to the System subdirectory as well, but thefile is installed as a shared component and is not removed when theapplication is removed. The paths below are typical paths to theWindows\System directory. This macro can be used for both Setup1 Filesand Bootstrap Files.

\Windows\System (Windows 95 or later)\Winnt\System32 (Windows NT 4.0 and later)
$(WinPath)
This macro installs files to the directory where Windows is installed.The examples below are typical paths to the Windows directory. Thismacro can be used for both Setup1 Files and BootStrap Files.

\Windows (Windows 95 or later)\Winnt (Windows NT)
$(AppPath)
The application directory specified by the user, or the DefaultDir valuespecified in the Setup section. Valid only for Setup1 Files.
\path
A hard coded path, for example, “c:\mydir”. This is only available bymodifying the Setup.lst file. Valid only for Setup1 Files.$(CommonFiles)
This macro installs files to the Program Files\Common Files folder.Valid only for Setup1 Files.

\Program Files\Common Files\
$(CommonFilesSys)
Installs files to the \System folder under Program Files\Common Files.Valid only for Setup1 Files.

\Program Files\Common Files\System
$(ProgramFiles)
Installs files to the \Program Files directory. Valid only for Setup1Files.

\Program Files
$(MSDAOPath)
Installs files to the location stored in the Registry for Data Access(DAO)Components.
$(Font)
Installs to the \Font subdirectory under the Windows directory.

\Windows\Fonts