title: How to read installer shortcuts with C# (WPF)
body: <p><strong>Background:</strong> I've decided to teach myself C# through WPF, and I'm writing a small application that needs to get a list of Start Menu shortcuts and their targets and store them. Basically, I'm trying to take all the shortcuts and put their target applications' paths into memory. However, I've run into a problem trying to read Windows Installer shortcuts (the ones that point to something like <code>C:\Windows\Installer\{90120000-0030-0000-0000-0000000FF1CE}\wordicon.exe</code> -- Microsoft Office is a good example of this). I did some research and it seems that Windows uses some behind-the-scenes magic involving the Registry to find the actual location of the file.</p>
  
  <hr>
  
  <p><strong>Question:</strong> How can I get the actual target of these Windows Installer shortcuts in C#? A lot of sources I've found point me to the <code>IShellLink</code> interface, but I don't know how to use it with C#. I'd prefer to use Windows API calls (or, even better, a .NET library) instead of manually looking through the Registry, but I'll take any guidance on the issue.</p>