Export (0) Print
Expand All

Appendix B: Prerequisites Schema

Updated: July 19, 2011

Applies To: Windows Server 2003 with SP2, Windows Server 2008 R2, Windows Server 2008 R2 with SP1, Windows Server Update Services, Windows Small Business Server 2011 Standard

Windows Server Update Services (WSUS) 3.0 SP2 uses an XML file, prerequisites.xml, to define the prerequisites for an installation. This schema is described in the following table:

 

Schema Element Description

PrereqResults

Root element.

Result

The result of a single prerequisite check. There can be 0…nResult elements, one for each prerequisite. In addition, the Result element has aStatusCode attribute. The possible values of StatusCode are 0 (Success), 1 (Error), 2 (Warning).

Status

The localized description of the status code.

Check

The product or component that is to be checked.

Components

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

Component

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

Description

The description of the problem.

Resolution

How the customer can resolve the problem.

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

<?xml version="1.0" encoding="utf-8"?>
<PrereqResults>
    <Result StatusCode="0">
        <Status>Passed</Status>
        <Check>Windows Server 2008 Server</Check>
        <Components>
            <Component>Windows Server Update Services</Component>
        </Components>
    </Result>
    <Result StatusCode="1">
        <Status>Failed</Status>
        <Check>SQL Server 2008</Check>
        <Components>
            <Component>Windows Server Update Services</Component>
        </Components>
        <Description>SQL Server 2005 or later not detected</Description>
        <Resolution>Download the required version from http://www.microsoft.com/downloads/</Resolution>
    </Result>
    <Result StatusCode="1">
        <Status>Warning</Status>
        <Check>SQLINSTANCE_NAME</Check>
        <Components>
            <Component>Windows Server Update Services</Component>
        </Components>
       <Description>This database version cannot 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>
    </Result>
    …
</PrereqResults>

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft