windows-service-setup-project-run-service-as-administrator
You should be able to add a new ServiceProcessInstaller in the InitializeComponent() method of your installer. This class will allow you to set account type, username, and password that you want the service to run as. For example: this.Installers.Add( new System.ServiceProcess.ServiceProcessInstaller() { Account = ServiceAccount.User, Username = @"domain\username", Password = "password" }); If you don't want to hardcode a password into your setup project, then leave it blank and a popup dialog should appear asking for this during install. http://stackoverflow.com/questions/1692679/windows-service-setup-project-run-service-as-administrator