RunAsynchronousCommand specifies a single command to run asynchronously on the computer during the windowsPE configuration pass. RunAsynchronous commands are executed in the order specified in the section, but the computer does not wait for the previous command to finish before it runs. Running a service is an example of an asynchronous command.
RunAsynchronous commands are always executed after RunSynchronous commands in the same pass.
RunAsynchronous commands run in the system context.
Specifies the credentials used to access the command if the command is on a network share.
Specifies a description of the command to execute.
Specifies the order of the command to execute.
Specifies the path to the command to execute.
For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.
The following XML output shows how to configure asynchronous commands.
<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>