title: Wix installed files elevate permissions
body: <p>I have a <code>WiX</code> project, and it installs some executables and libraries on a folder located at <code>ProgramFiles</code>. </p>
  
  <p>The problem comes when running one of these executables. Some of them need to be executed as <code>Administrator</code> to do all the tasks it should do. If I right click on it, and run it as administrator, it works well. But I want WiX to elevate that permissions for my files by itself.</p>
  
  <p>Is there any way?</p>
  
  <p>I tried doing this:</p>
  
  <pre><code>&lt;Package Id="$(var.GUID_Package)"
           InstallPrivileges="elevated"
           InstallScope="perMachine" ...&gt;
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>&lt;Property Id="MSIUSEREALADMINDETECTION" Value="1" /&gt;
  </code></pre>
  
  <p>But these two options only work for the <code>.msi</code> package (not for the installed files).</p>
  
  <p><strong>NOTE:</strong> I think I didn't explain myself correctly... My problems came on permissions with my installed files. I couldn't execute them correctly because of permissions. When I run them as administrator, obviously, all permissions are correct for execution. So what I had to do was change that permissions for each file I had trouble with.</p>