SourceDisksNames 

The SourceDisksNames section identifies and names the disk that contains the source files for file copying and renaming operations. The source files are listed in SourceDisksFiles3.PG0KP.

In order to allow multi-platform distribution of source files, you can construct a platform-specific SourceDisksNames section. For example, on a MIPS platform, all setup functions that use a SourceDisksNames section will first look for a SourceDisksNames.Mips section. If the setup functions do not find a SourceDisksNames.Mips section, or the specified line is not found in that section, the setup functions will use the SourceDisksFiles section. This behavior affects any setup function that directly or indirectly references a SourceDisksFiles section as part of its processing.

The suffixes are not case sensitive and can be one of the following.

    alpha

    mips

    ppc

    x86

 

[SourceDisksNames]

disk-ordinal="disk-description",disk-label,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.

disk-label

The volume label of the source disk that is set when the source disk is formatted.

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 compact disc. 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 specific to the MIPS platform.

[SourceDisksNames]

1 =  Windows NT CD-ROM , Instd1,, \common

 

[SourceDisksNames.Alpha]

2 =  Windows NT CD-ROM , Instd1,, \alpha

 

[SourceDisksNames.Mips]

2 =  Windows NT CD-ROM , Instd1,, \mips

 

[SourceDisksNames.x86]

2 =  Windows NT CD-ROM , Instd1,, \x86

 

[SourceDisksNames.ppc]

2 =  Windows NT CD-ROM , Instd1,, \ppc

 

[SourceDisksFiles]

write.exe = 1

cmd.exe = 2

 

[SourceDisksFiles.Mips]

halnecmp.dll = 2