RunAsynchronousCommandRunAsynchronousCommand
RunAsynchronousCommand
windowsPE 構成パス中に実行する 1 つのコマンドを指定します。RunAsynchronousCommand
specifies a single command to run during the windowsPE configuration pass.
サービスまたは同時に開始できるコマンドを実行するには、非同期コマンドを使用します。To run services or commands that can start at the same time, use asynchronous commands. その他のコマンドを開始する前に完了する必要があるコマンドを実行するには使用RunSynchronousCommand代わりにします。To run commands that need to finish before other commands can start, use RunSynchronousCommand instead.
すべてRunAsynchronous
システム コンテキストでコマンドを実行します。All RunAsynchronous
commands run in the system context.
子要素Child Elements
設定Setting | 説明Description |
---|---|
資格情報Credentials | コマンドがネットワーク共有上にある場合、コマンドへのアクセスに使用する資格情報を指定します。Specifies the credentials used to access the command if the command is on a network share. |
説明Description | 実行するコマンドの説明を指定します。Specifies a description of the command to execute. |
順序Order | 各コマンドの一意の値を指定します。Specifies a unique value for each command. コンピューターは、次のコマンドを開始する前に完了する 1 つのコマンドを待機しません。The computer does not wait for one command to finish before it starts the next command. |
パスPath | 実行するコマンドへのパスを指定します。Specifies the path to the command to execute. |
有効な構成パスValid Configuration Passes
windowspe パスwindowsPE
親階層Parent Hierarchy
Microsoft Windows のセットアップ | RunAsynchronous | RunAsynchronousCommandMicrosoft-Windows-Setup | RunAsynchronous | RunAsynchronousCommand
適用対象Applies To
サポートされている Windows のエディションおよびコンポーネントをサポートするアーキテクチャの一覧で、Microsoft Windows のセットアップを参照してください。For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.
XML の例XML Example
次の XML 出力は、非同期コマンドを構成する方法を示します。The following XML output shows how to configure asynchronous commands.
<RunAsynchronous>
<RunAsynchronousCommand>
<Order>1</Order>
<Path>\\MyNetworkShare\MyApplication.exe</Path>
<Description>DescriptionOfMyApplication</Description>
<Credentials>
<Domain>FabrikamDomain</Domain>
<UserName>MyUserName</UserName>
<Password>MyPassword</Password>
</Credentials>
</RunAsynchronousCommand>
<RunAsynchronousCommand>
<Order>2</Order>
<Path>C:\AnotherApplication.exe</Path>
<Description>DescriptionOfMyApplication</Description>
</RunAsynchronousCommand>
</RunAsynchronous>