title: How can I programmatically check if a server feature is installed in Windows Server 2008?
body: <p>Specifically, I'm working with an application that only runs on Server 2008 if the "Desktop Experience" feature is installed, and I'd like to have that application's installer verify it's there.</p>
  
  <p>The only way I'm aware of currently is to run <code>ServerManagerCmd -query</code> and parse the output; I'd prefer something more lightweight (like checking a registry key).</p>