Order (microsoft-windows-setup-runsynchronous-runsynchronouscommand-order)

Order は、RunSynchronous コマンドが実行される順序を指定します。

同期コマンドは、無人インストール応答ファイルで指定された順序で開始され、各コマンドは、次のコマンドが開始される前に完了する必要があります。

他のコマンドを開始する前に完了する必要があるコマンドを開始するには、同期コマンドを使用します。 同時に開始できるサービスまたはコマンドを実行するには、代わりに RunAsynchronous を使用します。

すべての RunSynchronous コマンドは、システム コンテキストで実行されます。

Synchronous_command_execution_order

コマンドを開始する順序を指定します。 この値は 1 から 500 の整数です。

有効な構成パス

windowsPE

[親階層]

microsoft-windows-setup- | RunSynchronous | RunSynchronousCommand | Order

適用対象

このコンポーネントがサポートしている Windows のエディションとアーキテクチャの一覧については、microsoft-windows-setup- を参照してください。

XML の例

次の XML 出力は、同期コマンドを設定する方法を示しています。

<RunSynchronous>
   <!-- First synchronous command to execute -->
   <RunSynchronousCommand>
      <Order>1</Order>
      <Path>\\MyNetworkShare\MyApplication.exe</Path>
      <Description>DescriptionOfMyApplication</Description>
      <Credentials>
         <Domain>FabrikamDomain</Domain>
         <UserName>MyUserName</UserName>
         <Password>MyPassword</Password>
      </Credentials>
   </RunSynchronousCommand>
<!-- Second synchronous command to execute -->
   <RunSynchronousCommand>
      <Order>2</Order>
      <Path>C:\AnotherApplication.exe</Path>
      <Description>DescriptionOfMyApplication</Description>
   </RunSynchronousCommand>
</RunSynchronous>

RunSynchronousCommand

RunAsynchronous