com3:ExeServer

Registers an ExeServer with one or many class registrations.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <com2:Extension>

                        <com2:ComServer>

                             <com3:ExeServer>

Syntax

<com3: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 = 'An optional 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 = 'An optional [SDDL string](/windows/win32/secauthz/security-descriptor-string-format) value.' >

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

</com3: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 *. The .exe extension is case sensitive and must be lowercase. Yes
Arguments The arguments of the LocalServer32 key. An optional 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 SDDL string that corresponds to the LaunchPermission value of the AppID key. An optional SDDL string value. No

Child elements

Child element Description
Class Defines an ExeServer class registration.

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

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/3
Minimum OS Version Windows 10 version 2004 (Build 19041)