Article ID: 178354
Article Last Modified on 5/12/2003
[Component File Name] Dest=<Destination> UsesN=<Dependent File> Register=<Method of Registration> Version=<Component version> Date=<Component Date> Time=<Component Time> ProgramIconTitle=<Title for Shortcut> ProgramIconCmdLine=<Command Line for Shortcut>
$(AppPath) Indicates the path the user selects
during setup.
$(WinSysPath) Indicates the \Windows\System or
\Winnt\System32 folder.
$(WinPath) Indicates the \Windows or \Winnt folder.
$(ProgramFiles) Indicates the folder specified at
HKEY_LOCAL_MACHINE\Software\
Microsoft\Windows\CurrentVersion\
ProgramFilesDir.
$(CommonFiles) Indicates the folder specified at
HKEY_LOCAL_MACHINE\Software\
Microsoft\Windows\CurrentVersion\
CommonFilesDir.
$(CommonFilesSys) Indicates $(CommonFiles)\System in
Windows 95, Windows 98, NT 4.0, and Windows 2000,
or the same as $(WinSysPath) in NT 3.51.
$(MSDAOPath) The location stored in the registry
for DAO components.
The Dest= key applies only to the component to which the section applies.
By default, all files dependent on the component will also be placed in the
same location. To override the location for a "child," you can create a
section for the "child" and specify a different destination in that
section.
[MyOCX.OCX] Dest=$(WinSysPath) Uses1=MyDLL.DLL Uses2=MyOCX.TXTIn this example, MyOCX.OCX depends upon (or requires) MyDLL.DLL and MyOCX.TXT.
None If a value is omitted for this key,
the file is not registered.
$(DllSelfRegister) The file supports self-registration
and self-unregistration via a DLL
entry point.
$(ExeSelfRegister) The file is a local server that
supports self-registration through
the command-line parameter
"/RegServer" and self-unregistration
through the command-line parameter
"/UnRegServer."
$(TLBRegister) The file is a .TLB file and should be
registered.
Filename The file is registered by calling
Regedit.exe with this filename as a
Command-line parameter.
$(Remote) Used only by Visual Basic to indicate
that the file is a .VBR file.
If the Register= key is omitted altogether, the file is not registered.
Version=4.50.10.11
Date=10/5/1996-or-
Date=04/03/1997NOTE: This key is ignored if a value is specified for the Version= key.
Time=14:05:32NOTE: This key is ignored if a value is specified for the Version= key.
ProgramIconTitle=My Program TitleIf you indicate that a shortcut should be created, you can give the command line for the shortcut by specifying a value for the ProgramIconCmdLine= key. The path that you use for the command-line value may contain the macros listed for the Dest= key. For example:
ProgramIconCmdLine=$(AppPath)\Readme.txt
[VBRUN500.DLL] Dest=$(WinSysPath) [VBRUN500.DLL <000C>] ;000C = primary language ID for French Uses1=VB5FR.DLL [VBRUN500.DLL <0007>] ;0007 = primary language ID for German Uses1=VB5DE.DLLIn this example, if VBRUN500.DLL is installed and the client's language settings are French, VB5FR.DLL will also be installed. Likewise, if VBRUN500.DLL is installed and the client's language settings are German, VB5DE.DLL will be installed.
[MyOCX.OCX] Register=$(DLLSelfRegister) Dest=$(WinSysPath) Date=1/23/1996 Time=10:15:33 Version=1.1.13.6 Uses1=MyDLL.DLL Uses2=MyServer.EXE Uses3=VBRUN500.DLL [MyServer.EXE] Dest=$(WinPath) Date=1/23/1996 Time=18:52:48 Version=1.0.1.0 Uses1=VBRUN500.DLL Register=$(ExeSelfRegister) ProgramIconTitle=My Program ProgramIconCmdLine=$(WinSysPath)\MyOCX.OCX [MyDLL.DLL] Register=$(DLLSelfRegister) Version=1.0.1.0 [VBRUN500.DLL] Dest=$(WinSysPath) ;Additional Files for International Support [VBRUN500.DLL <0007>] Uses1=VB5DE.DLL [VBRUN500.DLL <000C>] Uses1=VB5FR.DLLMyOCX.OCX is a self-registering file that is installed in the Windows\System folder (or Winnt\System32 folder on NT or Windows 2000). MyOCX.OCX depends upon (requires) three files: MyDLL.DLL, MyServer.EXE, and VBRUN500.DLL.
Additional query words: directory
Keywords: kbinfo kbappsetup kbwizard KB178354