[C#] Check if a particular program is installed


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: [C#] Check if a particular program is installed

  1. #1
    Join Date
    Nov 2004
    Location
    Lincoln, England
    Posts
    100

    [C#] Check if a particular program is installed

    Afternoon folks!

    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.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    The installer probably adds an entry to the user's Add/Remove programs list, which is at HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 4
    Last Post: 10-03-2006, 08:37 PM
  2. Prime number program to make go faster
    By divagoddess in forum C++
    Replies: 12
    Last Post: 05-07-2006, 11:55 PM
  3. want to test my program?
    By jonneymendoza in forum Java
    Replies: 0
    Last Post: 04-28-2006, 03:05 PM
  4. Replies: 7
    Last Post: 04-26-2002, 12:25 PM
  5. Check box isssue when bound to a database column
    By Narayan in forum VB Classic
    Replies: 0
    Last Post: 04-10-2001, 11:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center