I'm making a program that needs to keep a database of certain games and determine whether or not they're installed on the user's PC, sort of like what Xfire does, but I realize that registry keys are left over even when programs are uninstalled. What's a good way to determine whether or not a particular PC game is installed? How does Windows keep track of what programs are installed? How does Xfire do it? I know they're both closed-source, but what's the best way to tackle this and find out which of the games I'm keeping track of are actually installed?
How to tell if particular programs are installed?
Started by gamelord12, Jan 13 2009 06:27 PM
1 reply to this topic
#1
Posted 13 January 2009 - 06:27 PM
|
|
|
#2
Posted 15 January 2009 - 08:37 AM
gamelord12 said:
but I realize that registry keys are left over even when programs are uninstalled.
gamelord12 said:
What's a good way to determine whether or not a particular PC game is installed?
so you could enumerate all your entrys on run time and check if
1. registry exists
2. game executable exists, read the install path and append the exe name.
How you save the data is up to you :p


Sign In
Create Account

Back to top









