Appendix F: Prerequisites Schema

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008, Windows Server Update Services

The prerequisites.xml file is used to define the prerequisites for an installation. The schema is described in the following section

Prerequisites Schema

The elements of the prerequisites schema are listed in the following table.

Schema Element Description


Root element.


The result of a single prerequisite check. There may be 0…nResult elements, one for each prerequisite.


The localized description of the status code.


The product or component to be checked.


The component(s) for which this is a prerequisite. There may be 0…nComponent elements in a Components element.


One of the component(s) for which this is a prerequisite.


The description of the problem.


The way the customer may resolve the problem.

In addition, the Result element has an attribute StatusCode. The possible values of StatusCode are 0 (success), 1 (error), 2 (warning).


The following is an example of a prerequisites.xml file.

<?xml version="1.0" encoding="utf-8"?>
    <Result StatusCode="0">
        <Check> Microsoft Windows Server 2003 Server </Check>
            <Component>Windows Server Update Services</Component>
    <Result StatusCode="1">
        <Check>SQL Server 2005</Check>
            <Component>Windows Server Update Services</Component>
        <Description>SQL Server 2005 or later not detected</Description>
        <Resolution>Download the required version from</Resolution>
    <Result StatusCode="1">
            <Component>Windows Server Update Services</Component>
       <Description>This database version can not be upgraded.  Version is too old.</Description>
        <Resolution>Choose another location for the database to keep this one otherwise this database will be overridden.</Resolution>