The Windows Service registers a Windows NT service with the Service Control Manager at install time. At uninstall time, if the "Remove On Uninstall" property is set to "True", the uninstaller will remove the service. When uninstalling the service, it will stop the service first, if necessary, before removing it.

This bean provides comprehensive access to the parameters available within the Win32 API for configuring a Service without the need to write any custom code. This includes setting the dependencies, failure actions, the description of the Service, startup arguments, and many more. Please refer to the documentation for each individual property for detailed information.

Windows NT services are native executables that adhere to the Windows SDK rules and guidelines for a service. The executable must already exist on the machine at the time this bean is executed. A typical scenario is to install the service executable within a Files bean in the Product tree, then include this bean in the Product tree definition after the Files bean.

This documentation is not a tutorial that describes NT Services - It presumes that the developer understands the process of creating an NT Service. References to the Microsoft documentation for related Win32 APIs and parameters are included for more detailed information.