SourceDisksFiles

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

Windows Mobile SupportedWindows Embedded CE Supported

8/28/2008

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.

[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

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