Deployment Tools Foundation
ServiceAttributes Enumeration
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► ServiceAttributes
Defines values for the ServiceType, StartType, and ErrorControl columns of the ServiceInstall table.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[FlagsAttribute] public enum ServiceAttributes
<FlagsAttribute> _ Public Enumeration ServiceAttributes
[FlagsAttribute] public enum class 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.
|