Using C# .NET 2.0 or greater and Visual Studio 2008, how would one generate a list of all installed applications on a Windows Vista PC?
My motivation is to get a text file of all my installed applications that I can save and keep around so that when I rebuild my machine I have a list of all of my old applications.
The second part of this question is kind of SuperUser.com thing, but hopefully the first part counts as "programming".
Thanks