Prerequisites (package schema for Windows 8)
Declares the minimum operating system and software requirements that must exist for the package to be applicable to the system.
<Prerequisites> <!-- Child elements --> ( OSMinVersion & OSMaxVersionTested ) </Prerequisites>
& interleave connector (may occur in any order)
Attributes and Elements
This should be filled in by the developer with the highest version of Windows that the package was tested on. This field is required. Windows will not block installation of the package on versions of the OS higher than the value provided in this field. When an app is executed, Windows will compare this field to the actual OS version. If the value provided in this field is less than the current OS version, Windows may provide behavior compatible with the highest tested OS version for some or all APIs. If the value provided in this field is greater than or equal to the current OS version, Windows will not apply any compatibility changes to APIs.
The minimum version of the operating system that the package requires.
Defines the root element of an app package manifest. The manifest describes the structure and capabilities of the software to the system.
The following example is taken from the package manifest of one of the SDK samples.
<Prerequisites> <OSMinVersion>6.2</OSMinVersion> <OSMaxVersionTested>6.2</OSMaxVersionTested> </Prerequisites>