title: Wix Installer ignores elevated privileges when updating
body: <p>Although the first installation works fine, when I try to update the application to a newer version, the installer presents the following message:</p>
  
  <pre><code>Service X could not be installed. Verify that you 
  have sufficient privileges to install system services.
  </code></pre>
  
  <p>When cancelling the update installation, the software is removed and if I install again, the process finishes successfully.</p>
  
  <p>I'ts important to say that both install and update are requiring elevation of privilege.</p>
  
  <p>Any ideas?</p>
  
  <p><strong>Elevation of Privilege</strong></p>
  
  <pre><code>&lt;Package InstallerVersion="300" 
           Compressed="yes" 
           InstallScope="perMachine" 
           InstallPrivileges="elevated" 
           AdminImage="yes" /&gt; 
  </code></pre>
  
  <p><strong>Service configuration:</strong> </p>
  
  <pre><code>&lt;ServiceInstall Id="ServiceInstaller"
                  Type="ownProcess"
                  Name="X"
                  DisplayName="X"
                  Description="X"
                  Start="auto"
                  ErrorControl="normal" /&gt;
  
  &lt;ServiceControl Id="StartService" 
                  Start="install" 
                  Stop="both" 
                  Remove="uninstall" 
                  Name="X" Wait="yes" /&gt;
  </code></pre>