Поделиться через


Platform (Windows Embedded CE 6.0)

1/6/2010

The [Platform] section in the information (.inf) file determines the target platforms on which your application can be installed, based on a combination of platform and version numbers that you specify.

You can use this section as a way to refine the valid platform types that are specified in the [CEDevice] section, such as configuring this section to prevent the associated .cab file from installing on any platforms other than the one that you specify.

Note

When using a [Platform] section in an .inf file, you must specify the /platform command-line parameter when you call the CAB Wizard. Otherwise, the CAB Wizard ignores all [Platform] sections when processing the .inf file.

[Platform]
PlatformString=platform_string
PlatformMin=version
PlatformMax=version

Ee504728.collapse(en-US,WinEmbedded.60).gifParameters

  • platform_string
    String that identifies a valid target for the associated application.
  • version
    Numeric value specifying the platform version.

Ee504728.collapse(en-US,WinEmbedded.60).gifRemarks

If you created multiple [Platform] sections and want to create a .cab file for each, pass the string that you used as the label name for the selected platform to the CAB Wizard as the string for the /platform command-line parameter.

See Also

Concepts

Information File
CAB Wizard