title: WiX - Trying to set the permissions of a service using util:PermissionEx and getting an Error 1
body: <p>The question <a href="https://stackoverflow.com/q/2381219/466321">WiX - Install Windows Service and give permissions</a> is exactly what I am trying to do. First I have added the <code>UtilExtension</code> namespace like this:</p>
  
  <pre><code>&lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
       xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"&gt;
  </code></pre>
  
  <p>Then I have added the following to the <code>ServiceInstall</code> element:</p>
  
  <pre><code>&lt;util:PermissionEx
                User="Authenticated Users"
                GenericAll="yes"
                ServiceChangeConfig="yes"
                ServiceEnumerateDependents="yes"
                ChangePermission="yes"
                ServiceInterrogate="yes"
                ServicePauseContinue="yes"
                ServiceQueryConfig="yes"
                ServiceQueryStatus="yes"
                ServiceStart="yes"
                ServiceStop="yes" /&gt;
  </code></pre>
  
  <p>Finally the compiler provides me with the following error message:</p>
  
  <blockquote>
    <p>Error 1   The ServiceInstall element contains an unhandled extension
    element 'util:PermissionEx'.  Please ensure that the extension for
    elements in the '<a href="http://schemas.microsoft.com/wix/UtilExtension" rel="nofollow noreferrer">http://schemas.microsoft.com/wix/UtilExtension</a>'
    namespace has been provided.</p>
  </blockquote>
  
  <p>Is there something else I need to do to ensure the extension for the elements has been provided? How do I fix this?</p>