Defines the reboot request of a run-once command. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim runOnceCommandRebootRequest1 As RunOnceCommandRebootRequest = RunOnceCommandRebootRequest.Always

Syntax

Visual Basic
Public Enum RunOnceCommandRebootRequest
C#
public enum RunOnceCommandRebootRequest
C++
public enum class RunOnceCommandRebootRequest
J#
public enum RunOnceCommandRebootRequest
JScript
public enum RunOnceCommandRebootRequest

Members

Member name Description
Always Reboot immediately after the current command is finished. The remaining commands will be executed after the computer reboots. This value can only be used in the specialize and auditUser configuration passes.
MustRebootInWindowsPE This member is deprecated. Rebooting in Windows PE is not supported.
None No reboot is needed.
OnRequest Reboot behavior depends on the return value of the synchronous command. Please refer to the WillReboot in the Unattended Windows Setup Reference for more details.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also