Order
Order
specifies the order in which to execute the synchronous command specified by Path.
All RunSynchronous commands run in the system context.
Values
Synchronous_command_execution_order |
Specifies the order in which synchronous commands are executed. Synchronous_command_execution_order is an integer. |
Valid Passes
Parent Hierarchy
Microsoft-Windows-Setup | RunSynchronous | RunSynchronousCommand | 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 set synchronous commands.
<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>