title: Error 1001 in my Windows Service app setup project
body: <p>I'm trying to install my Windows Service app using Visual Studio 2008 Setup and Deployment project. I have created a user account that has "Run as a Service" right and have set the ServiceProcessInstaller.Account to System.ServiceProcess.ServiceAccount.User and also the username and password to the user that I have created previously. </p>
  
  <pre><code>spInstaller.Account = System.ServiceProcess.ServiceAccount.User;
  spInstaller.Username = "USER NAME";
  spInstaller.Password = "PASSWORD";
  
  sInstaller.ServiceName = "SERVICE NAME";
  sInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
  </code></pre>
  
  <p>But during the setup process, I get the following error: </p>
  
  <p><strong>Error: 1001. The account name is invalid or does not exist, or the password is invalid for the account name specified</strong></p>
  
  <p>Any ideas why I get this error and how I can fix it?
  Thanks.</p>