title: OOTB way to check for admin permissions before running VS2010 Installer MSI?
body: <p>I'm creating an installer for a 3rd Party ActiveX DLL running in IE7-9 on XP-Win7.  The MSI should perform the following:</p>
  
  <ol>
  <li>Check for admin permissions. Notify the user and exit if insufficient permissions.</li>
  <li>Check for previous version.  If it exists unregister or overwrite it.</li>
  <li>Install the DLL with vsdrfCOM so that it is recognized in the IE add-on menu.</li>
  </ol>
  
  <p>For (3), I set the vsdrfCOM but it didn't seem to work.  I don't see an OOTB way to perform (1) or (2).  Is that correct or is there an OOTB way?</p>
  
  <p>Thanks.</p>