title: Not enough permissions to install service
body: <p>I have the following declaration of my service:</p>
  
  <pre><code>&lt;ServiceControl Id="ServiceStartStop"
                  Name="[name]"
                  Start="install"
                  Stop="both"
                  Remove="both"
                  Wait="no"/&gt;
  &lt;ServiceInstall Id="ServiceRegister"
                  Name="[name]"
                  DisplayName="[displayname]"
                  Description="[description]"
                  Account="LocalSystem"
                  Arguments="-start"
                  ErrorControl="critical"
                  Interactive="yes"
                  Start="auto"
                  Type="ownProcess"
                  Vital="yes" &gt;
    &lt;util:PermissionEx  User="Authenticated Users"
                        ServiceChangeConfig = "yes"
                        ServiceEnumerateDependents = "yes"
                        ServiceInterrogate = "yes"
                        ServicePauseContinue = "yes"
                        ServiceQueryConfig = "yes"
                        ServiceQueryStatus = "yes"
                        ServiceStart = "yes"
                        ServiceStop = "yes"
                        ServiceUserDefinedControl = "yes" /&gt;
  &lt;/ServiceInstall&gt;
  </code></pre>
  
  <p>This compiles and links without any errors or warnings. The service <code>exe</code> is properly specified using <code>KeyPath="yes"</code>. When I run my msi, it can't get beyond at 'Starting Service...'. I get an error message, as follows: </p>
  
  <p><img src="https://i.stack.imgur.com/9ZlSp.png" alt="enter image description here"></p>
  
  <p>The UAC is shown when I click 'Install', so what's going wrong?</p>