The SourceDisksNames section identifies and names the disk that contains the source files for file copying and renaming operations. In order to allow multi-platform distribution of source files, you can construct a platform-specific SourceDisksNames section. For example, all Setup functions that use a SourceDisksNames section will first look for a SourceDisksNames.mips section on a MIPS platform and only look in a SourceDisksNames section if the line was not found in SourceDisksNames.mips. This behavior affects any Setup function that directly or indirectly references a SourceDisksNames section as part of its processing.
[SourceDisksNames]
disk-ordinal="disk-description",tag-file,unused[,path]
.
.
.
disk-ordinal
A unique number that identifies a source disk. If there is more than one source disk, each must have a unique ordinal.
disk-description
A string or strings key describing the content or purpose of the disk. The installer displays this string to the user to identify the disk. The description must be enclosed in double quotation marks.
tag-file
This is the name (filename part only) of the tag file. The tag file indicates the presence of a particular removable media volume.
unused
This parameter is not used.
path
Optional parameter that specifies the absolute path to the source files. If this parameter is not used, the root directory is the default.
In the following example, the write.exe file is the same for all platforms and is located in the \common directory on the CD-ROM. The disk-number of 1 directs the Setup functions to the \common directory regardless of which platform the files are being installed on. The cmd.exe file is a platform-specific file that is distributed for all platforms. The disk-number of 2 directs the Setup functions to the correct directory for each platform. The halnecmp.dll file is a MIPS platform-specific file.
[SourceDisksNames]
1 = "Windows NT CD-ROM", file.tag,,\common
[SourceDisksNames.mips]
2 = "Windows NT CD-ROM", file.tag,, \mips
[SourceDisksNames.x86]
2 = "Windows NT CD-ROM", file.tag,, \i386
[SourceDisksNames.ppc]
2 = "Windows NT CD-ROM", file.tag,, \ppc
[SourceDisksFiles]
write.exe = 1
cmd.exe = 2
[SourceDisksFiles.mips]
halnecmp.dll = 2