com:ExeServer

Registers an ExeServer with one or many class registrations.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <com:Extension>

                        <com:ComServer>

                             <com:ExeServer>

Syntax

<com:ExeServer
    Executable = 'A string with a value between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *.'
    Arguments = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
    DisplayName = 'A string with a value between 1 and 256 characters in length. This string is localizable.'
    LaunchAndActivationPermission = '[Optional SDDL string](/windows/win32/secauthz/security-descriptor-string-format).' >

  <!-- Child elements -->
  Class{1,10000}

</com:ExeServer>

Key

{}   specific range of occurrences

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Executable A path relative to the package root and must reference a file in the package. This specifies the default executable for the extension. If not specified, the executable defined for the app is used. If specified, the EntryPoint property is also used. If that EntryPoint property isn't specified, the EntryPoint defined for the app is used. A string with a value between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *. Yes
Arguments The arguments of the LocalServer32 key. A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. No
DisplayName DisplayName is a localizable string corresponding to the default AppID key value. A string with a value between 1 and 256 characters in length. No
LaunchAndActivationPermission An optional SDDL string that corresponds to the LaunchPermission value of the AppID key. SDDL string. No

Child elements

Child element Description
Class Defines an ExeServer class registration.

Parent elements

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

Remarks

An ExeServer can have one or more class registrations. Multiple class registrations should share an ExeServer if their LocalServer32 keys match and they have the same AppID (or if they don't have an AppID), unless they need to be registered under different Applications/Application manifest elements.

ExeServer registrations correspond to LocalServer32 keys and their associated AppID key.

The Executable and Arguments attributes correspond to the default value of the LocalServer32 key.

Requirements

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