title: NSIS: Installing an Application to always Run as Administrator
body: <p>I have a NSIS script that is working well for a large application. I have read many threads all over the web, but cannot get a clear answer to the following: is it possible to install an application using NSIS which, when launched (regardless of the type of user) automatically is run as administrator? If this is possible how can it be achieved?</p>
  
  <p>Note: I am already imposing that the NSIS package must be run as <code>admin</code> using</p>
  
  <pre><code>RequestExecutionLevel admin
  </code></pre>
  
  <p>I have tried writing the UAC requirement to the applications registry entry using this <a href="http://forums.winamp.com/showthread.php?t=278764&amp;highlight=shortcut+administrator" rel="noreferrer">method</a> but I could not get the <code>RUNASADMIN</code> command to compile as it is not in the required format for NSIS.</p>