Compartilhar via


SourceDisksFiles (Compact 2013)

3/26/2014

The [SourceDisksFiles] section is required and describes the name and path of the files that comprise your application.

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 about the platforms that you can select, see CEDevice.

Syntax

[SourceDisksFiles]
filename=disk_id[,subdir]
[filename=disk_id[,subdir]]

Parameters

  • filename
    Source filename. Enclose long filenames in double quotation marks.
  • disk_id
    Source identifier used in [SourceDiskNames] to specify the source directory.

You must have a [SourceDisksFiles] section that is not hardware platform-specific; hardware platform-specific sections are optional.

The following [SourceDisksFiles] code example uses source identifiers corresponding to those found in the [SourceDisksName] code example:

[SourceDisksFiles]
begin.wav = 1
end.wav = 1
sample.hlp = 1

[SourceDisksFiles.ARM]
sample.exe = 2

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.

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

Reference

Information (.inf) File Overview
CAB Wizard