title: How to Install a service as the current account in c#
body: <p>In my installer code I'm currently using:</p>
  
  <pre><code> processInstaller.Account = ServiceAccount.LocalSystem;
  </code></pre>
  
  <p>But one of our clients has a proxy configured so the service account can't access the internet. Currently we have to configure all the services manually after install but if we could have them automatically use the credentials of the installing user we wouldn't have to do this. Does anyone know if this can be done? </p>
  
  <p>Thanks,
  Richard</p>