title: find application path in Registry
body: <p>I need list of installed application on the computer and their path directory, and I find this:</p>
  
  <pre><code>     //Registry path which has information of all the softwares installed on machine
      string uninstallKey = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall";
      using (RegistryKey rk = Registry.LocalMachine.OpenSubKey(uninstallKey))
      {
          foreach (string skName in rk.GetSubKeyNames())
          {
              using (RegistryKey sk = rk.OpenSubKey(skName))
              {
                  // we have many attributes other than these which are useful.
                  Console.WriteLine(sk.GetValue("DisplayName") + 
              "  " + sk.GetValue("DisplayVersion"));
              }
  
          }
      }
  </code></pre>
  
  <p>How I get the path? I tried <code>sk.GetValue("DisplayPath")</code>but it not work.</p>
  
  <p>Thanks!</p>