title: How to set "Run this program as an administrator" programmatically
body: <p>I'm having a problem with good ol' bdeadmin.exe in Vista. First, let's get the predictable responses out of the way:</p>
  
  <p>"You should not require your application to be elevated."<br>
  This one does. C'est la vie.</p>
  
  <p>"You need to embed a manifest file."<br>
  It is already compiled, it is many years old, the company that created it has no intention of doing it again, and it is installed from a Merge Module (MSM file).</p>
  
  <p>"BDE is obsolete, you should be using dbExpress"<br>
  One and a half million lines of code. 'Nuff said.</p>
  
  <p>"Drop a manifest file next to the EXE."<br>
  Tried that, did nothing. As a test, that same manifest file was able to make several other EXE files require elevation, just not the one I wanted. Something in there is preventing the external manifest from being read.</p>
  
  <p>"Create a shortcut and set SLDF_RUNAS_USER."<br>
  Can't do that, it's a Control Panel applet.</p>
  
  <p>The only thing that worked was setting "Run this program as an administrator" under the Compatibility tab of its Properties window. I shouldn't have to tell users to do this. Bad for business. I need to have the installer do this. The MSM file uses a static path.</p>