title: How do I install with elevated permissions using a WiX installer?
body: <p>We currently have an MSI that is created with <a href="http://en.wikipedia.org/wiki/WiX" rel="noreferrer">WiX</a> 3.5. The application is in .NET 3.5. We generate a bootstrapper using the boostrapper task in an <a href="http://en.wikipedia.org/wiki/MSBuild" rel="noreferrer">MSBuild</a> file. It's pointing at the 6.0a <a href="http://en.wikipedia.org/wiki/Software_development_kit" rel="noreferrer">SDK</a> files.</p>
  
  <p>When users have <a href="http://en.wikipedia.org/wiki/User_Account_Control" rel="noreferrer">UAC</a> on and they install, they have to right-click the <code>setup.exe</code> and select run-as administrator.</p>
  
  <p>What I would really like is to have the setup.exe automatically prompt to elevate (using that yellow dialog I see in other installs).</p>
  
  <p>Better yet, I'd like the MSI to do this and do away with the <code>setup.exe</code> completely, but I think that is what WiX 3.6 is about, right?</p>
  
  <p>If I create the boostrapper using <code>ApplicationRequiresElevation="true"</code> this requries the 7.0a SDK, correct? Will the bootstrapper then prompt to elevate automatically? Does this mean the application has to be a <a href="http://en.wikipedia.org/wiki/.NET_Framework" rel="noreferrer">.NET</a> 4 application? I wouldn't think so...</p>