osTypes Element

Updated: September 26, 2009

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

The osTypes element contains one or more child elements that represent the editions of Windows referenced in the parent os element. The child elements are mapped to the values returned when the operating system version is determined. For example, the Client element represents all client editions of the operating system.

For more information about the edition that corresponds to the value returned, see GetProductInfo Function

<osTypes>
  <Server />
  <ServerCore />
  <Client />
  <HomeBasic />
  <HomePremium />
  <Starter />
  <Ultimate />
  <Enterprise />
  <Business />
</osTypes>

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

 

Element Description

Client

Includes the following values:

  • PRODUCT_HOME_BASIC

  • PRODUCT_HOME_BASIC_N

  • PRODUCT_HOME_PREMIUM

  • PRODUCT_HOME_PREMIUM_N

  • PRODUCT_STARTER

  • PRODUCT_ULTIMATE

  • PRODUCT_ULTIMATE_N

  • PRODUCT_ENTERPRISE

  • PRODUCT_ENTERPRISE_N

  • PRODUCT_BUSINESS

  • PRODUCT_BUSINESS_N

HomeBasic

Includes the following values:

  • PRODUCT_HOME_BASIC

  • PRODUCT_HOME_BASIC_N

HomePremium

Includes the following values:

  • PRODUCT_HOME_PREMIUM

  • PRODUCT_HOME_PREMIUM_N

Business

Includes the following values:

  • PRODUCT_BUSINESS

  • PRODUCT_BUSINESS_N

Server

Includes the following values:

  • PRODUCT_CLUSTER_SERVER

  • PRODUCT_DATACENTER_SERVER

  • PRODUCT_DATACENTER_SERVER_V

  • PRODUCT_ENTERPRISE_SERVER

  • PRODUCT_ENTERPRISE_SERVER_V

  • PRODUCT_MEDIUMBUSINESS_SERVER_MANAGEMENT

  • PRODUCT_MEDIUMBUSINESS_SERVER_MESSAGING

  • PRODUCT_MEDIUMBUSINESS_SERVER_SECURITY

  • PRODUCT_SERVER_FOR_SMALLBUSINESS

  • PRODUCT_SMALLBUSINESS_SERVER

  • PRODUCT_SMALLBUSINESS_SERVER_PREMIUM

  • PRODUCT_STANDARD_SERVER

  • PRODUCT_STANDARD_SERVER_V

  • PRODUCT_STORAGE_ENTERPRISE_SERVER

  • PRODUCT_STORAGE_EXPRESS_SERVER

  • PRODUCT_STORAGE_STANDARD_SERVER

  • PRODUCT_STORAGE_WORKGROUP_SERVER

  • PRODUCT_WEB_SERVER

  • PRODUCT_ENTERPRISE_SERVER_IA64

  • PRODUCT_HOME_SERVER

  • PRODUCT_HYPERV

ServerCore

Includes the following values:

  • PRODUCT_DATACENTER_SERVER_CORE

  • PRODUCT_DATACENTER_SERVER_CORE_V

  • PRODUCT_ENTERPRISE_SERVER_CORE

  • PRODUCT_ENTERPRISE_SERVER_CORE

  • PRODUCT_ENTERPRISE_SERVER_CORE_V

  • PRODUCT_STANDARD_SERVER_CORE

  • PRODUCT_STANDARD_SERVER_CORE_V

  • PRODUCT_WEB_SERVER_CORE

Starter

Includes the following values:

  • PRODUCT_STARTER

Ultimate

Includes the following values:

  • PRODUCT_ULTIMATE

  • PRODUCT_ULTIMATE_N

Enterprise

Includes the following values:

  • PRODUCT_ENTERPRISE

  • PRODUCT_ENTERPRISE_N

Parent Elements

 

Element Description

os

Specifies a version of Windows. Child elements define the editions of the operating system on which the product is supported.

Community Additions

ADD
Show: