Deployment with Synchronous Command XML Example (Standard 8 Module Reference)

7/8/2014

Review an XML example of how to set synchronous commands for the Deployment section of the Embedded Core module in the Windows Embedded 8 Standard (Standard 8) module catalog.

RunSynchronous specifies one or more commands to run synchronously on the computer. Synchronous commands are executed in the order specified in the unattended installation configuration file, and each command must finish before the next command runs.

RunSynchronous commands always run before RunAsynchronous commands in the same pass.

RunSynchronous commands run in the user context in the auditUser configuration pass and in the system context in the specialize configuration pass. For more information about configuration passes, see Image Builder Configuration Passes.

XML Example

The following XML example shows how to set synchronous commands.

<RunSynchronous>
      <RunSynchronousCommand wcm:action="add">
         <Credentials>
            <Domain>MyDomain</Domain>
            <Password>MyPassword</Password>
            <Username>MyUsername</Username>
         </Credentials>
         <Description>MySynchCommand1</Description>
         <Order>1</Order>
         <Path>\\network\server\share\filename</Path>
         <WillReboot>OnRequest</WillReboot>
      </RunSynchronousCommand>
      <RunSynchronousCommand wcm:action="add">
         <Credentials>
            <Domain>MyDomain</Domain>
            <Password>MyPassword</Password>
            <Username>MyUsername</Username>
         </Credentials>
         <Description>MySynchCommand2</Description>
         <Order>2</Order>
         <Path>\\network\server\share\filename</Path>
         <WillReboot>OnRequest</WillReboot>
      </RunSynchronousCommand>
</RunSynchronous>

See Also

Reference

Deployment
Domain
Password
Username
Description
Order
Path
WillReboot