[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-wpkg/sources/wpkg/xsd/ -> wpkg.xsd (source)

   1  <?xml version="1.0" encoding="UTF-8"?>
   2  <xsd:schema targetNamespace="http://www.wpkg.org/wpkg"
   3      elementFormDefault="unqualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
   4      xmlns="http://www.wpkg.org/wpkg">
   5      <xsd:annotation>
   6          <xsd:documentation>XML Schema Definition for WPKG packages. The root element (packages) contains all packages.
   7  There might be multiple XML files of this type put to the packages/ sub-directory where WPKG is installed.
   8          </xsd:documentation>
   9      </xsd:annotation>
  10      <xsd:complexType name="check">
  11          <xsd:annotation>
  12              <xsd:documentation>Generic check definition - used for compatibility. Does not verify correct 
  13  combination of attributes for all kind of checks. If you would like to verify 
  14  the attributes in more detail please specify the xsi:type='checkFile' 
  15  attribute where 'checkFile' can be replaced with any more-specific check type 
  16  of check*.
  17  
  18  Valid types include:
  19  
  20  - checkFile
  21  - checkRegistry
  22  - checkExecute
  23  - checkUninstall
  24  - checkLogical</xsd:documentation>
  25          </xsd:annotation>
  26          <xsd:sequence minOccurs="0" maxOccurs="1">
  27              <xsd:sequence maxOccurs="unbounded" minOccurs="0">
  28                  <xsd:element name="check" type="check">
  29                      <xsd:annotation>
  30                          <xsd:documentation>Checks can be nested. Use logical checks to group checks with logical conditions.</xsd:documentation>
  31                      </xsd:annotation></xsd:element>
  32              </xsd:sequence>
  33              <xsd:sequence maxOccurs="1" minOccurs="0">
  34                  <xsd:element name="condition" type="condition">
  35                      <xsd:annotation>
  36                          <xsd:documentation>Specify a condition under which this check applies. If the condition does not 
  37  apply then the check is ignored (exactly as if it would not have been 
  38  specifyed at all).
  39  
  40  For example you might add a condition to check for specific OS version. So the 
  41  check will only be applied if the OS version matches the condition.</xsd:documentation>
  42                      </xsd:annotation></xsd:element>
  43              </xsd:sequence>
  44          </xsd:sequence>
  45          <xsd:attribute name="type" type="xsd:string" use="required">
  46              <xsd:annotation>
  47                  <xsd:documentation>Type of check, valid values are: - file - registry -
  48  uninstall - execute - logical
  49                  </xsd:documentation>
  50              </xsd:annotation>
  51          </xsd:attribute>
  52          <xsd:attribute name="condition" use="required"
  53              type="xsd:string">
  54              <xsd:annotation>
  55                  <xsd:documentation>Check condition. Valid values are:
  56  - equals
  57  - exists
  58  - sizeequals
  59  - versionsmallerthan
  60  - versionlessorequal
  61  - versionequalto
  62  - versiongreaterorequal
  63  - versiongreaterthan
  64  - datemodifyequalto
  65  - datemodifynewerthan
  66  - datemodfyolderthan
  67  - datecreateequalto
  68  - datecreatenewerthan
  69  - datecreateolderthan
  70  - dateaccessequalto
  71  - dateaccessnewerthan
  72  - dateaccessolderthan
  73  - exitcodesmallerthan
  74  - exitcodelessorequal
  75  - exitcodeequalto
  76  - exitcodegreaterorequal
  77  - exitcodegreaterthan
  78  - not
  79  - and
  80  - or
  81  - atleast
  82  - atmost
  83                  </xsd:documentation>
  84              </xsd:annotation>
  85          </xsd:attribute>
  86          <xsd:attribute name="path" type="xsd:string" use="optional"
  87              default="%SystemRoot%\explorer.exe">
  88              <xsd:annotation>
  89                  <xsd:documentation>Path to be used for checks (registry path, file path).
  90                  </xsd:documentation>
  91              </xsd:annotation>
  92          </xsd:attribute>
  93          <xsd:attribute name="value" type="xsd:string" use="optional"
  94              default="1.0">
  95              <xsd:annotation>
  96                  <xsd:documentation>A value is required for some check conditions like
  97  VERSION, SIZE or EQUALS checks.
  98  
  99  Note for registry equals checks: The value should
 100  contain a string representing the data within the
 101  registry value. In case the value is a DWORD just
 102  enter a numeric string. The values will be compared
 103  in their string representation (DWORD converted to
 104  String). In case you compare to a REG_MULTI_SZ value
 105  all data fields will be concatenated to a single
 106  string separated by newline characters.
 107  
 108  Example:
 109  REG_MULTI_SZ='a
 110  b
 111  c'
 112  value='a
 113  b
 114  c' will match.
 115  
 116  REG_BINARY values will be converted to multiline
 117  string as well. Each octett of the binary value is
 118  converted to its decimal representation.
 119  REG_BINARY= '11 22 33 44'
 120  value = '17 34 51 68' will match.
 121  </xsd:documentation>
 122              </xsd:annotation>
 123          </xsd:attribute>
 124          <xsd:attributeGroup ref="HostMatch"></xsd:attributeGroup>
 125      </xsd:complexType>
 126      <xsd:complexType name="checkFile">
 127          <xsd:annotation>
 128              <xsd:documentation>Check type for file specific tests.
 129              </xsd:documentation>
 130          </xsd:annotation>
 131          <xsd:complexContent>
 132              <xsd:restriction base="check">
 133                  <xsd:attribute name="type" use="required" fixed="file" type="xsd:string">
 134                      <xsd:annotation>
 135                          <xsd:documentation>File checks need to specify 'file' as the TYPE of check.
 136                          </xsd:documentation>
 137                      </xsd:annotation>
 138                  </xsd:attribute>
 139                  <xsd:attribute name="condition" use="required">
 140                      <xsd:annotation>
 141                          <xsd:documentation>Specify what should be tested on the file specified within the 'path' property.
 142  
 143  - exists: Check for file existence.
 144  
 145  - sizeequals: Check for file size (exact size in Bytes specified within the 
 146  'value' attribute.
 147  
 148  - version*: Compare file version to version specified within the 'value' 
 149  attribute.
 150  
 151  - date*: Compare file date to date specified within the 'value' attribute.
 152  </xsd:documentation>
 153                      </xsd:annotation>
 154                      <xsd:simpleType>
 155                          <xsd:restriction base="xsd:string">
 156                              <xsd:enumeration value="exists"></xsd:enumeration>
 157                              <xsd:enumeration value="sizeequals"></xsd:enumeration>
 158  
 159                              <xsd:enumeration
 160                                  value="versionsmallerthan">
 161                              </xsd:enumeration>
 162                              <xsd:enumeration
 163                                  value="versionlessorequal">
 164                              </xsd:enumeration>
 165                              <xsd:enumeration value="versionequalto"></xsd:enumeration>
 166                              <xsd:enumeration
 167                                  value="versiongreaterorequal">
 168                              </xsd:enumeration>
 169                              <xsd:enumeration
 170                                  value="versiongreaterthan">
 171                              </xsd:enumeration>
 172                              <xsd:enumeration
 173                                  value="datemodifyequalto">
 174                              </xsd:enumeration>
 175                              <xsd:enumeration
 176                                  value="datemodifynewerthan">
 177                              </xsd:enumeration>
 178                              <xsd:enumeration
 179                                  value="datemodifyolderthan">
 180                              </xsd:enumeration>
 181                              <xsd:enumeration
 182                                  value="datecreateequalto">
 183                              </xsd:enumeration>
 184                              <xsd:enumeration
 185                                  value="datecreatenewerthan">
 186                              </xsd:enumeration>
 187                              <xsd:enumeration
 188                                  value="datecreateolderthan">
 189                              </xsd:enumeration>
 190                              <xsd:enumeration
 191                                  value="dateaccessequalto">
 192                              </xsd:enumeration>
 193                              <xsd:enumeration
 194                                  value="dateaccessnewerthan">
 195                              </xsd:enumeration>
 196                              <xsd:enumeration
 197                                  value="dateaccessolderthan">
 198                              </xsd:enumeration>
 199                          </xsd:restriction>
 200                      </xsd:simpleType>
 201                  </xsd:attribute>
 202                  <xsd:attribute name="path" type="xsd:string" use="required">
 203                      <xsd:annotation>
 204                          <xsd:documentation>Path to the file to be checked. You might use
 205  environment variables as well:
 206  'C:\Windows\explorer.exe'
 207  '%TEMP%\somefile.txt'
 208                          </xsd:documentation>
 209                      </xsd:annotation>
 210                  </xsd:attribute>
 211                  <xsd:attribute name="value" type="xsd:string" use="optional">
 212                      <xsd:annotation>
 213                          <xsd:documentation>
 214  This value is optional only for existence check. For all other checks it it is
 215  required.
 216  
 217  The value should have the following format:
 218  
 219  - for 'exists' condition:
 220  For the 'exists' condition the value attribute is not evaluated. Exists just
 221  checks for existence of the file referred within the 'path' attribute.
 222  
 223  - for 'sizeequals' condition:
 224  The 'value' attribute has to tontain the file size (in bytes).
 225  
 226  - for 'version*' condition:
 227  The value has to contain a version string which can be compared against the file
 228  version. Some examples for valid version comparisons:
 229  
 230  A        B              Result
 231  '1'      '2'            B is newer
 232  '1'      '15'           B is newer
 233  '1.0'    '1.2.b'        B is newer
 234  '1.35'   '1.35-2'       B is newer
 235  '1.35-2' '1.36'         B is newer
 236  '1.35R3' '1.36'         B is newer
 237  '1'      '1.0.00.0000'  Versions are equal
 238  '1'      '1.0'          Versions are equal
 239  '1.35'   '1.35-2'       B is newer
 240  '1.35-2' '1.35'         A is newer
 241  '1.35R3' '1.36R4'       B is newer
 242  '1.35-2' '1.35-2.0'     Versions are equal
 243  '1.35.1' '1.35.1.0'     Versions are equal
 244  '1.3RC2' '1.3'          B is newer (special case where A is an 'RC' version)
 245  '1.5'    '1.5I3656'     A is newer (B is an 'I'/integration version)
 246  '1.5'    '1.5M3656'     A is newer (B is an 'M'/milestone version)
 247  '1.5'    '1.5u3656'     B is newer (B is an update version)
 248  
 249  - for 'date*' condition:
 250  This value allwos to do comparison to file creation, modification and access
 251  timestamps.
 252  The 'value' attribute has to contain a string in the following format:
 253  
 254  Relative timestamp (in minutes):
 255  -100     Means the file timestamp is compared to the timestamp 100 minutes ago.
 256  +50      Means the file timestamp is compared to the timestamp 50 minutes in
 257           the future.
 258  
 259  Absolute timestamp in ISO 8601 format:
 260  '2007-11-23 22:00'            (22:00 local time)
 261  '2007-11-23T22:00'            (Both, 'T' and space delimiter are allowed)
 262  '2007-11-23 22:00:00'         (specifies seconds which default to 0 above)
 263  '2007-11-23 22:00:00.000'     (specifies milliseconds which default to 0)
 264  
 265  It is allowed to specify the timezone as well:
 266  '2007-11-23 22:00+01:00'      (22:00 CET)
 267  '2007-11-23 21:00Z'           (21:00 UTC/GMT = 22:00 CET)
 268  '2007-11-23 22:00+00:00'      (21:00 UTC/GMT = 22:00 CET)
 269  
 270  File-Comparison:
 271  Prefix your value with the '@' character in order to point to a file to which
 272  the timestamp of the file referred in path is compared.
 273  Examples:
 274  @%SystemRoot%\explorer.exe
 275  @c:\myfile.txt
 276  
 277  Special terms:
 278  last-week           Check afainst timestamp of exactly one week ago (7 days).
 279  last-month          Check afainst timestamp of exactly one month ago (30 days).
 280  last-year           Check afainst timestamp of exactly one year ago (365 days).
 281  yesterday           Check afainst timestamp of yesterday (24 hours ago).
 282                          </xsd:documentation>
 283                      </xsd:annotation>
 284                  </xsd:attribute>
 285              </xsd:restriction>
 286          </xsd:complexContent>
 287      </xsd:complexType>
 288  
 289      <xsd:complexType name="checkRegistry">
 290          <xsd:annotation>
 291              <xsd:documentation>Use this type to specify a check for registry values.
 292              </xsd:documentation>
 293          </xsd:annotation>
 294          <xsd:complexContent>
 295              <xsd:restriction base="check">
 296                  <xsd:attribute name="type" use="required" fixed="registry" type="xsd:string">
 297                      <xsd:annotation>
 298                          <xsd:documentation>Registry checks need to specify 'registry' as the the TYPE of check.
 299                          </xsd:documentation>
 300                      </xsd:annotation>
 301                  </xsd:attribute>
 302                  <xsd:attribute name="condition" use="required">
 303                      <xsd:annotation>
 304                          <xsd:documentation>exist: Check for existence of the key/value supplied within the 'path' 
 305  attribute.
 306  
 307  equals: Check if the specified value contains the data entered within the 
 308  'value' attribute.
 309  </xsd:documentation>
 310                      </xsd:annotation>
 311                      <xsd:simpleType>
 312                          <xsd:restriction base="xsd:string">
 313                              <xsd:enumeration value="exists"></xsd:enumeration>
 314                              <xsd:enumeration value="equals"></xsd:enumeration>
 315                          </xsd:restriction>
 316                      </xsd:simpleType>
 317                  </xsd:attribute>
 318                  <xsd:attribute name="path" type="xsd:string" use="required">
 319                      <xsd:annotation>
 320                          <xsd:documentation>Enter registry path to a key which you like to check. Valid examples: 
 321  'HKLM\Software'
 322  </xsd:documentation>
 323                      </xsd:annotation>
 324                  </xsd:attribute>
 325                  <xsd:attribute name="value" type="xsd:string" use="optional">
 326                      <xsd:annotation>
 327                          <xsd:documentation>Data to check te specified registry value against. NOTE: This attribute is 
 328  optional only for registry existence checks. It is REQUIRED if you use equal 
 329  checks.</xsd:documentation>
 330                      </xsd:annotation>
 331                  </xsd:attribute>
 332              </xsd:restriction>
 333          </xsd:complexContent>
 334      </xsd:complexType>
 335      <xsd:complexType name="checkUninstall">
 336          <xsd:annotation>
 337              <xsd:documentation>Use this type to specify a check for uninstall entries
 338  (Control Panel, Add/Remove programs).
 339              </xsd:documentation>
 340          </xsd:annotation>
 341          <xsd:complexContent>
 342              <xsd:restriction base="check">
 343                  <xsd:attribute name="type" fixed="uninstall" use="required" type="xsd:string">
 344                      <xsd:annotation>
 345                          <xsd:documentation>Uninstall checks need to specify 'uninstall' as the the TYPE of check.
 346                          </xsd:documentation>
 347                      </xsd:annotation>
 348                  </xsd:attribute>
 349                  <xsd:attribute name="condition" use="required">
 350                      <xsd:annotation>
 351                          <xsd:documentation>- exist: Check if an uninstall entry equal to the value within the 'value' 
 352  attribute exists (see Control Pane, Add/Remove software)
 353  
 354  version*: 
 355  Compares the uninstall entry version to the value within the 'value' attribute.
 356  
 357  NOTE: This only works if the application specifies a 'DisplayVersion' value 
 358  within the Windows registry.
 359  
 360  Valid values:
 361  - versionsmallerthan
 362  - versionlessorequal
 363  - versionequalto
 364  - versiongreaterorequal
 365  - versiongreaterthan
 366  </xsd:documentation>
 367                      </xsd:annotation>
 368                      <xsd:simpleType>
 369                          <xsd:restriction base="xsd:string">
 370                              <xsd:enumeration value="exists"></xsd:enumeration>
 371                              <xsd:enumeration value="versionsmallerthan">
 372                              </xsd:enumeration>
 373                              <xsd:enumeration value="versionlessorequal">
 374                              </xsd:enumeration>
 375                              <xsd:enumeration value="versionequalto"></xsd:enumeration>
 376                              <xsd:enumeration value="versiongreaterorequal">
 377                              </xsd:enumeration>
 378                              <xsd:enumeration value="versiongreaterthan">
 379                              </xsd:enumeration>
 380                          </xsd:restriction>
 381                      </xsd:simpleType>
 382                  </xsd:attribute>
 383                  <xsd:attribute name="path" type="xsd:string" use="required">
 384                      <xsd:annotation>
 385                          <xsd:documentation>Name of the uninstall entry as it appears
 386  within Control Panel, Add/Remove software.
 387                          </xsd:documentation>
 388                      </xsd:annotation>
 389                  </xsd:attribute>
 390                  <xsd:attribute name="value" type="xsd:string" use="optional">
 391                      <xsd:annotation>
 392                          <xsd:documentation>Specifies a version if any of the version* checks are used.</xsd:documentation>
 393                      </xsd:annotation>
 394                  </xsd:attribute>
 395              </xsd:restriction>
 396          </xsd:complexContent>
 397      </xsd:complexType>
 398  
 399      <xsd:complexType name="checkExecute">
 400          <xsd:annotation>
 401              <xsd:documentation>Use this type of check to execute a script. Its exit    code can be evaluated by rules then.</xsd:documentation>
 402          </xsd:annotation>
 403          <xsd:complexContent>
 404              <xsd:restriction base="check">
 405                  <xsd:attribute name="type" use="required" fixed="execute" type="xsd:string">
 406                      <xsd:annotation>
 407                          <xsd:documentation> Execute checks need to specify 'execute' here.
 408                          </xsd:documentation>
 409                      </xsd:annotation>
 410                  </xsd:attribute>
 411                  <xsd:attribute name="condition" use="required">
 412                      <xsd:annotation>
 413                          <xsd:documentation>Verify the exit code of the script executed. Please specify the exit code to 
 414  compare to within the 'value' attribute. Valid values:
 415  
 416  exitcodesmallerthan: true in case the script exit code is numerically less 
 417  than the value specified
 418  
 419  exitcodelessorequal: true in case the script exit code is numerically less 
 420  or equal than the value specified
 421  
 422  exitcodeequalto: true in case the script exit code is numerically equal to 
 423  the value specified
 424  
 425  exitcodegreaterorequal: true in case the script exit code is numerically 
 426  greater or equal to the value specified
 427  
 428  exitcodegreaterthan: true in case the script exit code is numerically larger 
 429  than the value specified</xsd:documentation>
 430                      </xsd:annotation>
 431                      <xsd:simpleType>
 432                          <xsd:restriction base="xsd:string">
 433                              <xsd:enumeration value="exitcodesmallerthan">
 434                              </xsd:enumeration>
 435                              <xsd:enumeration value="exitcodelessorequal">
 436                              </xsd:enumeration>
 437                              <xsd:enumeration value="exitcodeequalto"></xsd:enumeration>
 438                              <xsd:enumeration value="exitcodegreaterorequal">
 439                              </xsd:enumeration>
 440                              <xsd:enumeration value="exitcodegreaterthan">
 441                              </xsd:enumeration>
 442                          </xsd:restriction>
 443                      </xsd:simpleType>
 444                  </xsd:attribute>
 445                  <xsd:attribute name="path" type="xsd:string" use="required">
 446                      <xsd:annotation>
 447                          <xsd:documentation>
 448                              Path to the script to be executed.
 449                          </xsd:documentation>
 450                      </xsd:annotation>
 451                  </xsd:attribute>
 452                  <xsd:attribute name="value" type="xsd:string" use="required">
 453                      <xsd:annotation>
 454                          <xsd:documentation>
 455                              Value used in exit code comparison.
 456                          </xsd:documentation>
 457                      </xsd:annotation>
 458                  </xsd:attribute>
 459              </xsd:restriction>
 460          </xsd:complexContent>
 461      </xsd:complexType>
 462  
 463      <xsd:complexType name="checkLogical">
 464          <xsd:annotation>
 465              <xsd:documentation>Use this check for logical chaining of other checks.</xsd:documentation>
 466          </xsd:annotation>
 467          <xsd:complexContent>
 468              <xsd:restriction base="check">
 469  
 470                  <xsd:attribute name="type" use="required"
 471                      fixed="logical" type="xsd:string">
 472                      <xsd:annotation>
 473                          <xsd:documentation>Type of check has to be set to 'logical' for logical checks.</xsd:documentation>
 474                      </xsd:annotation>
 475                  </xsd:attribute>
 476                  <xsd:attribute name="condition" use="required">
 477                      <xsd:annotation>
 478                          <xsd:documentation>Check condition:
 479  
 480  not: Requires exactly one single sub-element of type 'check' whose exit code 
 481  boolean value is inverted.
 482  
 483  and: Returns false immediately if one of the contained checks returns 
 484  false. Only evaluates true in case ALL checks contained evaluate true.
 485  
 486  or: Returns true immediately as soon as one of the checks return true. Only 
 487  evaluates false if ALL checks contained evaluate false.
 488  
 489  atleast: Returns true only if at least the specified amount of checks 
 490  contained return true. For example if you specify 5 checks and the value for 
 491  'atleast' is set to 3 then it returns true as soon as 3 checks out of 5 
 492  evaluated true.
 493  
 494  atmost: Returns true if maximum the specified amount of checks return true. 
 495  For example if you specify 5 checks and the value for 'atmost' is set to 3 it 
 496  will return true only if no more than 3 checks evaluate true.</xsd:documentation>
 497                      </xsd:annotation>
 498                      <xsd:simpleType>
 499                          <xsd:restriction base="xsd:string">
 500                              <xsd:enumeration value="not"></xsd:enumeration>
 501                              <xsd:enumeration value="and"></xsd:enumeration>
 502                              <xsd:enumeration value="or"></xsd:enumeration>
 503                              <xsd:enumeration value="atleast"></xsd:enumeration>
 504                              <xsd:enumeration value="atmost"></xsd:enumeration>
 505                          </xsd:restriction>
 506                      </xsd:simpleType>
 507                  </xsd:attribute>
 508                  <xsd:attribute name="value" type="xsd:string"
 509                      use="optional">
 510                      <xsd:annotation>
 511                          <xsd:documentation>Number of checks required for 'atleast' and 'atmost' checks. Unused for all other conditions.</xsd:documentation>
 512                      </xsd:annotation>
 513                  </xsd:attribute>
 514              </xsd:restriction>
 515          </xsd:complexContent>
 516      </xsd:complexType>
 517  
 518      <xsd:complexType name="variable">
 519          <xsd:sequence maxOccurs="1" minOccurs="0">
 520              <xsd:element name="condition" type="condition"></xsd:element>
 521          </xsd:sequence>
 522          <xsd:attribute name="name" type="xsd:string" use="required">
 523              <xsd:annotation>
 524                  <xsd:documentation>Variable name.</xsd:documentation>
 525              </xsd:annotation>
 526          </xsd:attribute>
 527          <xsd:attribute name="value" type="xsd:string" use="required">
 528              <xsd:annotation>
 529                  <xsd:documentation>Variable value.</xsd:documentation>
 530              </xsd:annotation>
 531          </xsd:attribute>
 532  
 533          <xsd:attributeGroup ref="HostMatch"></xsd:attributeGroup>
 534      </xsd:complexType>
 535  
 536      <xsd:complexType name="condition">
 537          <xsd:sequence minOccurs="1" maxOccurs="unbounded">
 538  
 539              <xsd:element name="check" type="check"></xsd:element>
 540          </xsd:sequence>
 541      </xsd:complexType>
 542  
 543      <xsd:complexType name="packageReference">
 544          <xsd:annotation>
 545              <xsd:documentation>Reference to a package.</xsd:documentation>
 546          </xsd:annotation>
 547  
 548          <xsd:sequence maxOccurs="1" minOccurs="0">
 549              <xsd:element name="condition" type="condition">
 550                  <xsd:annotation>
 551                      <xsd:documentation>Specifies a condition under which the package reference is taken into account.
 552  If the condition is not met, then the package reference is ignored.</xsd:documentation>
 553                  </xsd:annotation></xsd:element>
 554          </xsd:sequence>
 555          <xsd:attribute name="package-id" type="xsd:string"
 556              use="required">
 557              <xsd:annotation>
 558                  <xsd:documentation>Equal to the ID attribute of any existing package.</xsd:documentation>
 559              </xsd:annotation>
 560          </xsd:attribute>
 561          <xsd:attributeGroup ref="HostMatch"></xsd:attributeGroup>
 562      </xsd:complexType>
 563  
 564      <xsd:attributeGroup name="HostMatch">
 565  
 566          <xsd:attribute name="hostname" type="xsd:string">
 567              <xsd:annotation>
 568                  <xsd:documentation>Regular expression which matches host name.
 569  If hostname attribute is specified then this node is only applied if
 570  the host name is matched by the specified attribute regular
 571  expression.</xsd:documentation></xsd:annotation></xsd:attribute>
 572          <xsd:attribute name="os" type="xsd:string">
 573              <xsd:annotation>
 574                  <xsd:documentation>Regular expression which matches host operating
 575  system. e.g. 'microsoft windows 7 professional' Host
 576  OS description string will have the following
 577  format:
 578  
 579  '[OS-caption], [OS-description],[CSD-version], [OS-version]'
 580                  </xsd:documentation>
 581              </xsd:annotation>
 582          </xsd:attribute>
 583          <xsd:attribute name="ipaddresses" type="xsd:string">
 584              <xsd:annotation>
 585                  <xsd:documentation>Regular expression matching machine IP address. Any
 586  IP address of the host (if it has multiple) will
 587  have to match this expression. e.g.
 588  ^192\.168\.1\..*
 589                  </xsd:documentation>
 590              </xsd:annotation>
 591          </xsd:attribute>
 592          <xsd:attribute name="domainname" type="xsd:string">
 593              <xsd:annotation>
 594                  <xsd:documentation>Regular expression matching domain name of the host.
 595  e.g.
 596  ^domain$
 597                  </xsd:documentation>
 598              </xsd:annotation>
 599          </xsd:attribute>
 600          <xsd:attribute name="groups" type="xsd:string">
 601              <xsd:annotation>
 602                  <xsd:documentation>Regular expression matching group membership of
 603  host. At least one group has to match the regular
 604  expression. e.g.
 605  ^group.*$
 606                  </xsd:documentation>
 607              </xsd:annotation>
 608          </xsd:attribute>
 609          <xsd:attribute name="architecture">
 610              <xsd:annotation>
 611                  <xsd:documentation>Regular expression matching the host architecture.
 612  Currently the following architecture are supported:
 613  
 614  x86: 32-bit Windows operating system running on x86 instruction set 
 615  
 616  x64: 64-bit    Windows operating system running on x86-64 instruction set
 617  
 618  ia64: 64-bit Windows operating system running on IA64 instruction set
 619  
 620  
 621  Note: Note: You will have to match x86 also if you
 622  run Windows 32-bit on AMD64/EMT64/x64 hardware.
 623                  </xsd:documentation>
 624              </xsd:annotation>
 625              <xsd:simpleType>
 626                  <xsd:restriction base="xsd:string">
 627                      <xsd:enumeration value="x86"></xsd:enumeration>
 628                      <xsd:enumeration value="x64"></xsd:enumeration>
 629                      <xsd:enumeration value="ia64"></xsd:enumeration>
 630                  </xsd:restriction>
 631              </xsd:simpleType>
 632          </xsd:attribute>
 633          <xsd:attribute name="environment" type="xsd:string">
 634              <xsd:annotation>
 635                  <xsd:documentation>Define environment variables which have to match in
 636  order to match the host. Environment variables need
 637  to be specified in the following format:
 638  environment='variable1=^regexp$|variable2=regexp...'
 639  
 640  Please note that regular expressions are matched
 641  case-insensitive and multiple variables have to be
 642  separated by the pipe ('|') character. Please also
 643  note that in case you use WPKG-client the
 644  system-user environment might differ from the
 645  environment you see when opening a command prompt
 646  and typing 'set'. Some variables might be missing
 647  and others might have different content. So use with
 648  caution.</xsd:documentation>
 649              </xsd:annotation>
 650          </xsd:attribute>
 651          <xsd:attribute name="lcid" type="xsd:string">
 652              <xsd:annotation>
 653                  <xsd:documentation>Comma-separated list of LCID values to be matched
 654  against executing host (LCID seetting of executing
 655  user locale). A full list of LCIDs might be found at:
 656  http://www.microsoft.com/globaldev/reference/lcid-all.mspx
 657                  </xsd:documentation>
 658              </xsd:annotation>
 659          </xsd:attribute>
 660          <xsd:attribute name="lcidOS" type="xsd:string">
 661              <xsd:annotation>
 662                  <xsd:documentation>Comma-separated list of LCID values to be matched
 663  against executing host (LCID setting of Windows
 664  install language). A full list of LCIDs might be
 665  found at:
 666  http://www.microsoft.com/globaldev/reference/lcid-all.mspx
 667                  </xsd:documentation>
 668              </xsd:annotation>
 669          </xsd:attribute>
 670      </xsd:attributeGroup>
 671  
 672      <xsd:complexType name="checkHost">
 673          <xsd:annotation>
 674              <xsd:documentation>
 675                  Use this type to specify a check for host attributes.
 676              </xsd:documentation>
 677          </xsd:annotation>
 678          <xsd:complexContent>
 679              <xsd:restriction base="check">
 680                  <xsd:attribute name="type" type="xsd:string" fixed="host" use="required">
 681                      <xsd:annotation>
 682                          <xsd:documentation>
 683                              Type of check. Set this tho "host" for host
 684                              type checks.
 685                          </xsd:documentation>
 686                      </xsd:annotation>
 687                  </xsd:attribute>
 688                  <xsd:attribute name="condition" use="required">
 689                      <xsd:annotation>
 690                          <xsd:documentation>
 691                              Set condition for host check.
 692                          </xsd:documentation>
 693                      </xsd:annotation>
 694                      <xsd:simpleType>
 695                          <xsd:restriction base="xsd:string">
 696                              <xsd:enumeration value="hostname"></xsd:enumeration>
 697                              <xsd:enumeration value="architecture"></xsd:enumeration>
 698                              <xsd:enumeration value="os"></xsd:enumeration>
 699                              <xsd:enumeration value="ipaddresses"></xsd:enumeration>
 700                              <xsd:enumeration value="domainname"></xsd:enumeration>
 701                              <xsd:enumeration value="groups"></xsd:enumeration>
 702                              <xsd:enumeration value="lcid"></xsd:enumeration>
 703                              <xsd:enumeration value="lcidOS"></xsd:enumeration>
 704                              <xsd:enumeration value="environment"></xsd:enumeration>
 705                          </xsd:restriction>
 706                      </xsd:simpleType>
 707                  </xsd:attribute>
 708                  <xsd:attribute name="value" type="xsd:string" use="required">
 709                      <xsd:annotation>
 710                          <xsd:documentation>Regular expression to match the condition.</xsd:documentation>
 711                      </xsd:annotation></xsd:attribute>
 712              </xsd:restriction>
 713          </xsd:complexContent>
 714      </xsd:complexType>
 715  </xsd:schema>


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1