Share via


SourceDisksNames

Other versions of this page are also available for the following:

Windows Mobile SupportedWindows Embedded CE Supported

8/28/2008

The [SourceDisksNames] section is required and describes the name and path of the disk where your application resides.

If you want to use the .inf file to target multiple processors or platforms that you specify, append an unique label that indicates the platform to the section name to distinguish the sections. For more information, see CEDevice.

For example, when installing the .cab file application on Windows Mobile powered PDAs, use the SourceDisksNames.PPC section name to specify the name and path of the disk where the application resides.

[SourceDisksNames]
disk_id= ,comment,,path
[disk_id= ,comment,,path]

Parameters

  • disk_id
    Source identifier used to specify the source directory.
  • comment
    Friendly description of the source directory.
  • path
    Path of the disk where your application resides.

You must have a [SourceDisksNames] section that is independent of the hardware platform. Additional hardware platform-specific sections are optional.

You can use absolute or relative paths to specify the location of your application.

The following code example uses this format:

[SourceDisksNames]
1 = ,"Common files",,C:\app\common

[SourceDisksNames.ARM]
2 = ,"ARM files",,ARM

Remarks

If you are using the same set of application binaries to create multiple .cab files targeted at multiple platforms, you need only one SourceDisksFiles section. However, you need multiple SourceDisksNames sections to ensure that the binaries are sorted into the correct .cab files for each target platform.

See Also

Concepts

Information File
CAB Wizard