次の方法で共有


desktop:ExecutionAlias

コマンド プロンプトからアクティブ化する UWP アプリの実行可能ファイル。

Element Hierarchy

<パッケージの>

     <アプリケーションの>

          <アプリケーション>

               <拡張機能の>

                    <uap3:Extensions>

                        <uap3:AppExecutionAlias>

                              <desktop:ExecutionAlias>

Syntax

<desktop:ExecutionAlias
    Alias = 'An executable in the form of a string followed by ".exe".'
    uap8:AllowOverride = 'A boolean value.'
    desktop10:UseDesktopChangeRouter = 'A boolean value.' 
    desktop10:DropTarget = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
    desktop10:UseUrl = 'A boolean value.'
    desktop10:EnvironmentPath = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.' >

    <!-- Child elements -->
    desktop10:SupportedProtocols

</desktop:ExecutionAlias>

属性と要素

Attributes

Attribute Description Data type Required Default value Default value
Alias UWP アプリ実行可能ファイルの名前。 文字列の形式の実行可能ファイルの後に .exe Yes
uap8:AllowOverride UWP アプリの実行可能ファイルをオーバーライドするかどうかを示す値。 ブール値。 No
desktop10:UseDesktopChangeRouter Windows エクスプローラー プロセスのデバッグ時にファイル ダイアログのデッドロックを回避するためにデバッガー アプリケーションによって使用されます。 ブール値。 No
desktop10:DropTarget The CLSID of an object, usually a local server rather than an in-process server, that implements IDropTarget. By default, when the drop target is an executable file and no value is provided for DropTarget, the shell converts the list of dropped files into a command-line parameter and passes it to ShellExecuteEx in the lpParameters parameter. xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 形式の GUID。 No
desktop10:UseUrl true に設定した場合は、アプリケーションがコマンド ラインでファイル名ではなく URL を受け入れることを指定します。 Web ブラウザーやメディア プレーヤーなど、インターネットから直接ドキュメントを開くことができるアプリケーションでは、この値を使用する必要があります。 When ShellExecuteEx starts an application and this value is set to false, the default behavior, ShellExecuteEx downloads the document to a local file and invokes the handler on the local copy. ブール値。 No
desktop10:EnvironmentPath アプリケーション実行可能ファイルへの完全修飾パスを指定するディレクトリのセミコロン区切りのリストを含む文字列。 The value is appended to the PATH environment variable when an application is launched with a call to ShellExecuteEx. 長さが 1 ~ 32767 文字の文字列で、先頭と末尾に空白文字以外の文字が含まれます。 No

Child elements

Child element Description
desktop10:SupportedProtocols 特定のキーでサポートされている URL プロトコル スキームを指定します。

Parent elements

Parent element Description
uap3:AppExecutionAlias アプリのエイリアス拡張ポイントを宣言します。

Remarks

desktop10 名前空間の属性と子要素は、CompatMode="classic" を指定する拡張機能インスタンスでのみサポートされ、デスクトップ SKU でのみサポートされます。

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/foundation/windows10
uap8 http://schemas.microsoft.com/appx/manifest/uap/windows10/8
desktop10 http://schemas.microsoft.com/appx/manifest/desktop/windows10/10
最小 OS バージョン Windows 10 バージョン 1607 (ビルド 14393)