title: How do I get the current users name in a custom action for windows installer?
body: <p>I need to get the username of the user running the installer for my custom install action. Because the installer gets special priviledges, Environment.UserName just gives "SYSTEM".</p>
  
  <p>Environment.SpecialFolders.ApplicationData returns the current users appdata folder, but I can't reliably dig the username out of it.</p>
  
  <p>More case specifics:</p>
  
  <p>Using a Visual Studio 2008 Setup Project
  The custom action is an installer class run after install and is the only one in the project.</p>