Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
Windows Mobile Supported Windows Embedded CE Supported
4/14/2010

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.

For example, when installing the .cab file application on Windows Mobile powered PDAs, use the SourceDisksFiles.PPC section name to specify the name and path of the files associated with your application.

Copy Code
[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:

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

[SourceDisksFiles.ARM]
sample.exe = 2

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