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. To run commands that need to finish before other commands can start, use RunSynchronousCommand instead.
RunAsynchronous commands run in the system context.
|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. 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
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> <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>