ServiceAttributes Enumeration

DTF API

Copy image CopyHover image
Deployment Tools Foundation ServiceAttributes Enumeration
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerServiceAttributes
Defines values for the ServiceType, StartType, and ErrorControl columns of the ServiceInstall table.
Declaration Syntax
C# Visual Basic Visual C++ F#
[FlagsAttribute]
public enum ServiceAttributes
<FlagsAttribute>
Public Enumeration ServiceAttributes
[FlagsAttribute]
public enum class ServiceAttributes
[<FlagsAttribute>]
type ServiceAttributes
Members
Member Description
None No flags.
OwnProcess A Win32 service that runs its own process.
ShareProcess A Win32 service that shares a process.
Interactive A Win32 service that interacts with the desktop. This value cannot be used alone and must be added to either OwnProcess or ShareProcess.
AutoStart Service starts during startup of the system.
DemandStart Service starts when the service control manager calls the StartService function.
Disabled Specifies a service that can no longer be started.
ErrorMessage Logs the error, displays a message box and continues the startup operation.
ErrorCritical Logs the error if it is possible and the system is restarted with the last configuration known to be good. If the last-known-good configuration is being started, the startup operation fails.
ErrorControlVital When combined with other error flags, specifies that the overall install should fail if the service cannot be installed into the system.

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)