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
You could look into referencing the SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall registry key. Check out these links:
http://www.onedotnetway.com/get-a-list-of-installed-applications-using-linq-and-c/
http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/ac23690a-f5f8-46fc-9047-c369f4370fac