I have a windows service that i am installing using installutil.exe. How can i ensure that the service is automatically started immediately after installation. This is the service ProjectInstaller class
using System.ComponentModel;
namespace MedicalService_WindowsService
{
[RunInstaller(true)]
public partial class ProjectInstaller : System.Configuration.Install.Installer
{
public ProjectInstaller()
{
InitializeComponent();
}
}
}