if the definition of you process installer is:
private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1;
Add this code to your private void InitializeComponent() method in projectInstaller.Designer.cs file in your windows service project.
this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
No comments:
Post a Comment