com:ExeServer

Description

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 between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *.
    Arguments? = A string between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.
    DisplayName? = A string between 1 and 256 characters in length. This string is localizable.
    LaunchAndActivationPermission? = [SDDL string](https://aka.ms/sddl-string-format). >

  <!-- Child elements -->
  Class{1,10000}
</com:ExeServer>

Key

?   optional (zero or one)
{}   specific range of occurrences

Attributes

Attribute Description Data type Required
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 between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *. The .exe extension is case sensitive, it must be lowercase. Yes
Arguments The arguments of the LocalServer32 key. A string 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 between 1 and 256 characters in length. No
LaunchAndActivationPermission An 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.

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.

Examples

Requirements

Namespace

http://schemas.microsoft.com/appx/manifest/com/windows10