com3:ProgId

A programmatic identifier (ProgID) that can be associated with a CLSID. The ProgID identifies a class but with less precision than a CLSID because it is not guaranteed to be globally unique.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <com2:Extension>

                        <com2:ComServer>

                             <com3:ProgId>

Syntax

<com3:ProgId 
    Id = 'An alphanumeric string separated by a period with a value between 1 and 255 characters in length (for example, Foo.Bar or Foo.Bar.1).'
    Clsid = 'An optional GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
    CurrentVersion = 'An optional alphanumeric string separated by a period with a value between 1 and 255 characters in length (for example, Foo.Bar or Foo.Bar.1).' />

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Id The ID of the ProgID. An alphanumeric string separated by a period with a value between 1 and 255 characters in length (for example, Foo.Bar or Foo.Bar.1). Yes
Clsid Associates a ProgID with a CLSID. An optional GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. No
CurrentVersion The version of the ProgID. An optional alphanumeric string separated by a period with a value between 1 and 255 characters in length (for example, Foo.Bar or Foo.Bar.1). No

Child elements

None.

Parent elements

Parent element Description
com2:ComServer Declares a package extension point of type windows.comServer. The comServer extension may include the following types of registrations: ServiceServer, ExeServer, SurrogateServer, ProgId, or TreatAsClass.

Remarks

The Clsid attribute must reference the Id attribute of an ExeServer class, SurrogateServer class, or TreatAsClass registration within the same ComServer extension.

For more information on the ProgID, see <ProgID> Key.

Note

Clsid and CurrentVersion are mutually exclusive, but at least one must be provided.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/com/windows10/3
Minimum OS Version Windows 10 version 2004 (Build 19041)