title: How to install and start a Windows Service using WiX
body: <p>I tried to use the codes below in Wix.</p>
  
  <p>But when installing, the installer was freezing for like 3 minutes on status: Starting services, then I got this message "Service Jobservice failed to start. Verify that you have sufficient privileges to start system services".
  Is there any wrong in my codes? And can I ask the user to input the windows system user name and password during the installation to get the "privileges"? </p>
  
  <p>Thanks a lot!</p>
  
  <pre><code>    &lt;File Id='JobServiceEXE' Name='JobService.exe' DiskId='1'
          Source='JobService.exe' Vital='yes' KeyPath='yes'/&gt;         
      &lt;ServiceInstall Id="ServiceInstaller" Type="ownProcess" Vital="yes"
          Name="JobService" DisplayName="123 Co. JobService"
          Description="Monitoring and management Jobs" Start="auto"
          Account="LocalSystem" ErrorControl="ignore" Interactive="no" /&gt;
      &lt;ServiceControl Id="StartService"  Stop="both" Remove="uninstall"
          Name="JobService" Wait="yes" /&gt;
  &lt;/Component&gt;
  </code></pre>