SourceDisksNames (Compact 7)

3/12/2014

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.

Syntax

[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

Do not use unsupported characters in your file path, such as /, *, ?, <, >, and |. The CAB Wizard will replace these characters with spaces, which may cause the configuration service provider (CSP) to terminate with errors. If you are using environment variables in your path, make sure that their value strings do not contain these characters.

See Also

Reference

Information (.inf) File Overview
CAB Wizard