Skip to main content

Windows Dev Center

Identity constants

Specifies the length of the strings for the package's identity fields.

Constant/valueDescription
APPLICATION_USER_MODEL_ID_MAX_LENGTH
130

The maximum length of the application user model ID.

PACKAGE_ARCHITECTURE_MAX_LENGTH
7

The maximum length of the architecture.

PACKAGE_ARCHITECTURE_MIN_LENGTH
3

The minimum length of the architecture.

PACKAGE_FAMILY_NAME_MAX_LENGTH
64

The maximum length of the family name.

PACKAGE_FAMILY_NAME_MIN_LENGTH
17

The minimum length of the family name.

PACKAGE_FULL_NAME_MAX_LENGTH
127

The maximum length of the full name.

PACKAGE_FULL_NAME_MIN_LENGTH
30

The minimum length of the full name.

PACKAGE_GRAPH_MAX_SIZE
(1 + PACKAGE_MAX_DEPENDENCIES)

The maximum number of packages in a resolved dependency graph.

PACKAGE_GRAPH_MIN_SIZE
1

The minimum number of packages in a resolved dependency graph.

PACKAGE_MAX_DEPENDENCIES
128

The maximum number of dependencies for a package.

PACKAGE_MIN_DEPENDENCIES
0

The minimum number of dependencies for a package.

PACKAGE_NAME_MAX_LENGTH
50

The maximum length of the name.

PACKAGE_NAME_MIN_LENGTH
3

The minimum length of the name.

PACKAGE_PUBLISHER_MAX_LENGTH
8192

The maximum length of the publisher. For example, CN=publisher.

PACKAGE_PUBLISHER_MIN_LENGTH
4

The minimum length of the publisher.

PACKAGE_PUBLISHERID_MAX_LENGTH
13

The maximum length of the publisher ID.

PACKAGE_PUBLISHERID_MIN_LENGTH
13

The minimum length of the publisher ID.

PACKAGE_RELATIVE_APPLICATION_ID_MAX_LENGTH
65

The maximum length of the package relative application ID.

PACKAGE_RESOURCEID_MAX_LENGTH
30

The maximum length of the resource ID.

PACKAGE_RESOURCEID_MIN_LENGTH
0

The minimum length of the resource ID.

PACKAGE_VERSION_MAX_LENGTH
23

The maximum length of the version. For example, xxxxx.xxxxx.xxxxx.xxxxx.

PACKAGE_VERSION_MIN_LENGTH
7

The minimum length of the version. For example, w.x.y.z

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

AppModel.h