views:

48

answers:

1

Hello. Does anyone know how I can get the location of a program that has been installed. My C# WinForm is meant to launch the installer for a program, mainly games, and then be able to detect where that program was installed. Or even if it was installed successfully. Would I have to look in the registery for the location of installed programs? Or is there another way? Thanks for the help!

+1  A: 

Yes, you have to look in the registry. There is an article here, describing how to do it in C#.

driis