[C#] Check if a particular program is installed
Simple one (Me hopes)!
I have a program that manipulates a text file, which another program will in turn use, but I want my program to check for the presence of the other program on the users hard drive. The program I want to check for is installed properly using an installer.
I think it can be done by checking certain registry keys, but I don't know any more than that, aside from the name of the .exe, the program knows nothing else about the program. Any pointers?
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
The installer probably adds an entry to the user's Add/Remove programs list, which is at HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall.
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
By kaspal in forum VB Classic
Last Post: 10-03-2006, 07:37 PM
By divagoddess in forum C++
Last Post: 05-07-2006, 10:55 PM
By jonneymendoza in forum Java
Last Post: 04-28-2006, 02:05 PM
By KS in forum VB Classic
Last Post: 04-26-2002, 11:25 AM
By Narayan in forum VB Classic
Last Post: 04-10-2001, 10:30 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL