How to create custom UI for input username and password in Wix?
<p>I am installing a web service while running MSI, but is running under Local System by default. I want it to run under specific user which is logged in to the system.
this we can do by changing the log on property of the service but I want to do this while installation. 
so, how I can create a custom UI in wix for asking username and password from user. I have 2 files- service.wxs and product.wxs and I am trying something like :</p>

<pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"&gt;
      &lt;Fragment&gt;
        &lt;UI Id="myUI"&gt;
            &lt;TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" /&gt;
            &lt;Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /&gt;
            &lt;Dialog Id="myDlg" Height="400" Width="550" Title="User Sample UI" &gt;
              &lt;Control Id="myEdit" Type="Edit" Property="USERNAME" Height="17"     Width="100" X="50" Y="50" Indirect="yes" Text="[USERNAME]"/&gt;
              &lt;Control Id="meEdit" Type="Edit" Property="PASSWORD"         Password="yes" Height="20" Width="100" X="80" Y="50" Indirect="yes" Text="[PASSWORD]"/&gt;
        &lt;/Dialog&gt;
      &lt;/UI&gt;
  &lt;/Fragment&gt;
    &lt;Fragment&gt;
        &lt;DirectoryRef Id="FOLDER"&gt;
            &lt;Component Id="..." Guid="*"&gt;
                &lt;File Id="..." KeyPath="yes" Source="SourceDir\Service.exe" /&gt;              
                &lt;wix:ServiceInstall Id="Install" Account="[USERNAME]" Password="[PASSWORD]" Name="...." Description="..." ErrorControl="ignore" Start="auto" Type="ownProcess" Vital="yes" Interactive="no"   xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"    xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" /&gt;
</code></pre>

<p>But this is not working, I am not getting any pop up.
Do I need to give some reference in product.wxs as well?</p>

<p>Please help.</p>