ExeServer を 1 つまたは複数のクラス登録に登録します。
要素の階層
<Package>
└─ <Applications>
└─ <Application>
└─ <Extensions>
└─ <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 が使用されます。 | ".exe" で終わる必要がある長さが 1 ~ 256 文字の文字列。 <、 >、 :、 "、 |、 ?、または *の文字を含めることはできません。 |
イエス | |
| 引数 | LocalServer32 キーの引数。 | 長さが 1 ~ 32767 文字の文字列で、先頭と末尾に空白文字以外の文字が含まれます。 | いいえ | |
| DisplayName | DisplayName は、既定の AppID キー値に対応するローカライズ可能な文字列です。 | 長さが 1 ~ 256 文字の文字列。 | いいえ | |
| LaunchAndActivationPermission | AppID キーの LaunchPermission 値に対応する省略可能な SDDL 文字列 。 | SDDL 文字列。 | いいえ |
子要素
| 子要素 | 説明 |
|---|---|
| クラス | ExeServer クラスの登録を定義します。 |
親要素
| 親要素 | 説明 |
|---|---|
| com:ComServer | windows.comServer 型のパッケージ拡張ポイントを宣言します。 comServer 拡張機能には、ExeServer、SurrogateServer、ProgId、TreatAsClass の 4 種類の登録が含まれる場合があります。 |
注釈
ExeServer は、1 つ以上のクラス登録を持つことができます。 LocalServer32 キーが一致し、同じ AppID を持つ場合 (または AppID がない場合) は、異なる Applications/Application マニフェスト要素で登録する必要がない限り、複数のクラス登録で ExeServer を共有する必要があります。
ExeServer の登録は、 LocalServer32 キー とそれに関連付けられている AppID キーに対応します。
Executable 属性と Arguments 属性は、LocalServer32 キーの既定値に対応します。
Requirements
| 品目 | 価値 |
|---|---|
| 名前空間 | http://schemas.microsoft.com/appx/manifest/com/windows10 |
| 最小 OS バージョン | Windows 10 バージョン 1703 (ビルド 15063) |