the requirement is “I want to a program in c# which only check that a specified program is installed or not in a machine” and show a message that the program is installed or not.
Actually, I have a project program in c#, I want that after loading my project first form the application first check the VSS is installed on my machine because VSS is required for my project.
My Operating System is Windows 7.
Thanks
Hussain
You can check all the installed programs through registry entry in most of the cases. However, please note that it depends upon whether the installer did all the right things while installing the program or not.
Following code should work: