com:ExeServer

1 つまたは複数のクラス登録で ExeServer を登録します。

要素の階層

<パッケージ>

    <アプリケーション>

         <Application>

              <拡張機能>

                   <com:Extension>

                        <com:ComServer>

                             <com:ExeServer>

構文

<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>

キー

{} 特定の出現範囲

属性と要素

属性

属性 説明 データ型 必須 既定値
[実行可能ファイル] パッケージ ルートに対する相対パス。パッケージ内のファイルを参照する必要があります。 これにより、拡張機能の既定の実行可能ファイルが指定されます。 指定しない場合は、アプリに定義されている実行可能ファイルが使用されます。 指定した場合は、EntryPoint プロパティも使用されます。 その EntryPoint プロパティが指定されていない場合は、アプリに対して定義されている EntryPoint が使用されます。 長さが 1 ~ 256 文字の文字列。末尾が ".exe" でなければならず、次?>*:|"の文字を含めることはできません。 < Yes
引数 LocalServer32 キーの引数。 長さが 1 ~ 32767 文字の文字列で、先頭と末尾に空白文字以外の文字が含まれます。 いいえ
DisplayName DisplayName は、既定の AppID キー値に対応するローカライズ可能な文字列です。 長さが 1 ~ 256 文字の値を持つ文字列。 いいえ
LaunchAndActivationPermission AppID キーの LaunchPermission 値に対応する省略可能な SDDL 文字列 SDDL 文字列 いいえ

子要素

子要素 説明
クラス ExeServer クラスの登録を定義します。

親要素

親要素 説明
com:ComServer windows.comServer 型のパッケージ拡張ポイントを宣言します。 comServer 拡張機能には、ExeServerSurrogateServerProgIdTreatAsClass の 4 種類の登録が含まれる場合があります。

注釈

ExeServer には、1 つ以上のクラス登録を含めることができます。 LocalServer32 キーが一致し、同じ AppID (または AppID がない場合) がある場合は、異なる Applications/Application マニフェスト要素で登録する必要がない限り、複数のクラス登録で ExeServer を共有する必要があります。

ExeServer の登録は 、LocalServer32 キー とそれに関連付けられている AppID キーに対応します。

Executable 属性と Arguments 属性は、LocalServer32 キーの既定値に対応しています。

必要条件

Item
Namespace http://schemas.microsoft.com/appx/manifest/com/windows10
Minimum OS Version Windows 10 バージョン 1703 (ビルド 15063)