Order

Order specifies the order in which to run the asynchronous command specified by Path.

All RunAsynchronous commands run in the system context.

Values

Asynchronous_command_order

Specifies the order in which asynchronous commands are executed. Asynchronous_command_order is an integer.

Valid Passes

windowsPE

Parent Hierarchy

Microsoft-Windows-Setup | RunAsynchronous | RunAsynchronousCommand | Order

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.

XML Example

The following XML output shows how to configure asynchronous commands to run.

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

See Also

Concepts

RunAsynchronousCommand