Help and Support
 

powered byLive Search

How to use Package and Deployment Wizard installation macros

Article ID:189739
Last Review:September 18, 2004
Revision:2.0
This article was previously published under Q189739

SUMMARY

Installation macros can be used throughout the steps of the Package and Deployment Wizard (PDW) to install files to specific locations. This article documents the available installation macros and what the macros will equate to during the installation process.

Back to the top

MORE INFORMATION

These macros will be used by both Setup.exe and Setup1.exe to install files to common system directories. These macros may be modified after the distribution set has been created by modifying the Setup.lst file created by 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 Windows directory. The paths below are typical paths to the Windows\System directory. This macro can be used for both Setup1 Files and Bootstrap Files.
   \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 the file is installed as a shared component and is not removed when the application is removed. The paths below are typical paths to the Windows\System directory. This macro can be used for both Setup1 Files and 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. This macro 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 value specified in the Setup section. Valid only for Setup1 Files.

\path
A hard coded path, for example, "c:\mydir". This is only available by modifying 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 Setup1 Files.
   \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
				

Back to the top

REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:

189743 (http://support.microsoft.com/kb/189743/EN-US/) INFO: Description of Setup.lst Sections

Back to the top


APPLIES TO
Microsoft Visual Basic 6.0 Professional Edition
Microsoft Visual Basic 6.0 Enterprise Edition

Back to the top

Keywords: 
kbhowto kbappsetup kbwizard kbfaq KB189739

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.