title: How to validate the user while installing service as user account?
body: <p>I am creating an installer using wix. I need to install a service as user account given in installation process. But, before installing the service how can i validate that the user and the password are valid and also have the enough privilages to install the service. Is there any way to do that??</p>
  
  <p>Following code in wix helps me to install service.</p>
  
  <pre><code>&lt;ServiceInstall Id="AServiceInstall" DisplayName="myservice"     Name="myservice" ErrorControl="normal" Start="auto" Vital="yes" Type="ownProcess" Account="[ACCOUNT]" Password="[PASSWORD]"&gt;
              &lt;ServiceDependency Id="x"&gt;&lt;/ServiceDependency&gt;
            &lt;/ServiceInstall&gt;
  </code></pre>