I have created an installer with Visual Studio Deployment project to install a windows service. I need to add more feature like: 1] Recovery methods like, Restart the service on first failure, restart the service on second failure. 2] Stop the service before the installer tries to upgrade to next version.
Any pointers or any resources for this task is greatly appreciated. Thanks in advance.