Path specifies the path and the name of the command to execute.

All RunSynchronous commands run in the system context.



Specifies the path and the file name of the command to execute synchronously. The path can be a local path or a Universal Naming Convention (UNC) path. If the path is a UNC path, Credentials must be specified.

Path_to_command is a string.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes


Parent Hierarchy

Microsoft-Windows-Setup | RunSynchronous | RunSynchronousCommand | Path

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.

   <!-- First synchronous command to execute -->
<!-- Second synchronous command to execute -->

See Also