次の方法で共有


Platform (Compact 2013)

3/26/2014

The [Platform] section in the information (.inf) file determines the target platforms on which your application can be installed, based on platform 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

If you use 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 it processes the .inf file.

Syntax

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

Parameters

  • platform_string
    String that identifies a valid target for the associated application.

    Note

    In Windows Embedded Compact 2013, the PlatformString value is deprecated. If it is set, the device ignores it.

  • version
    Numeric value that specifies the platform version.

Remarks

If you created multiple [Platform] sections and want to create a .cab file for each one, 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

Reference

Information (.inf) File Overview
CAB Wizard