[DestinationDirs]
file-list-section=ldid(,subdir1\subdir2)
DefaultDestDir=ldid(,subdir1\subdir2)
The DestinationDirs section defines the destination directories for the operations specified in file-list-section, which is either a CopyFiles, RenFiles or DelFiles section. Optionally, a default destination directory may be specified for any CopyFiles, RenFiles, or DelFiles section in the INF file that are not explicitly named in the DestinationDirs section.
file-list-section
Name of a CopyFiles, RenFiles, or DelFiles section. This name must be referred to in
a Copyfiles, RenFiles, or DelFiles item in an Install section.
ldid
A Logical
Disk IDentifier [LDID]. Can be one of these values:
Value | Meaning |
---|---|
00 | Null LDID [this LDID can be used to create a new LDID] |
01 | Source Drive_Letter:\Path_Name |
02 | Temp Setup |
03 | Uninstall |
04 | Backup |
10 | Machine (Windows) directory [maps to the Windows directory on a server-based Setup] [%windir%] |
11 | System directory [%windir%\SYSTEM] |
12 | IOSubsys directory [%windir%\SYSTEM\IOSUBSYS] |
13 | Command directory [%windir%\COMMAND] |
14 | Control Panel |
15 | Printers |
16 | Workgroup |
17 | INF Directory [%windir%\INF] |
18 | Help directory [%windir%\HELP] |
19 | Administration |
20 | Fonts [%windir%\FONTS] |
21 | Viewers [%windir%\SYSTEM\VIEWERS] |
22 | VMM32 [%windir%\SYSTEM\VMM32] |
23 | Color directory [%windir%\SYSTEM\COLOR] |
24 | Root of drive containing the Windows directory [usually C:\ root] |
25 | Windows directory [%windir%] |
26 | Guaranteed boot device for Windows (Winboot) [C:\ root] |
27 | Machine [%windir%] |
28 | Host Winboot [usually C:\ root] |
30 | Root directory of the boot drive [C:\ root] |
31 | Root directory of the Host drive of a virtual boot drive [usually C:\ root] |
Where %windir% is the main Window directory [as environment variable], C:\WINDOWS in most
cases.
subdir
Name of the directory, within the directory named by ldid, to be the destination
directory.
The optional DefaultDestDir item provides a default destination for any CopyFiles items that use the direct copy (@filename) notation or any CopyFiles, RenFiles, or DelFiles sections not specified in the DestinationDirs section. If a
DefaultDestDir is not used in a DestinationDirs section, then the default directory is set to LDID_WIN.
This example sets the destination directory for the MoveMiniPort section to WINDOWS\IOSUBSYS and sets the default directory for other sections to be the BIN directory on the boot drive:
[DestinationDirs]
MoveMiniPort=12 ; Destination for
MoveMiniPort Section is WINDOWS\SYSTEM\IOSUBSYS
DefaultDestDir=30,BIN ; Direct copies go to Boot:\BIN