CPack a Windows Service

I have been trying to figure out if there is an easy and proper way to install a Windows Service

In NSIS this would be a hidden (-{sectionname}) part that calls the service manager to stop and unregister(if necessary)->register new service location.

is there an add_service_component or argument for this?