|
-
Sep 10th, 2001, 03:33 AM
#1
Thread Starter
Junior Member
Enumerate all installed programs
Hi all,
Can any body tell me how can I enumerate all installed programs in a computer?
Thank you very much
-
Sep 10th, 2001, 03:52 AM
#2
If you enumerate all of the entries (except CLASSES) in the registry key HKEY_LOCAL_MACHINE\SOFTWARE.
There are some problems with this. Entries like Visual Basic 4.0 will show up, but it cannot be run. Also, if the use deleted a directory tree containing a registered program, the software also will not work. The program names are in the level
HKEY_LOCAL_MACHINE\SOFTWARE\MANUFACTURER NAME\PROGRAM NAME
-
Sep 10th, 2001, 04:06 AM
#3
Thread Starter
Junior Member
Hi jim mcnamara,
I can not get any information of each program in this key HKEY_LOCAL_MACHINE\SOFTWARE.
And I also can not find the key: HKEY_LOCAL_MACHINE\SOFTWARE\MANUFACTURER NAME\PROGRAM NAME
You see, I want to enumerate all installed programs in a computer like "Add/Remove programs" in "control panel"
looking for your reply
Thanks
P/s: can you give me a small code to exam
-
Sep 10th, 2001, 04:50 AM
#4
-
Sep 10th, 2001, 08:42 PM
#5
Thread Starter
Junior Member
Thanks so much, your code works quite well. but as I compare, there are some programs that I get from your program, I can find them in Add/Remove program. can you explain me why?
-
Sep 10th, 2001, 09:08 PM
#6
Post a separate question for Chrisjk - he posted the code to start.
-
Sep 21st, 2001, 02:45 PM
#7
Member
Try this...
Lemme know if it works : )
I ain't the best coder,
I ain't the worst coder
Messanger Handle : FBz
-
Sep 21st, 2001, 09:59 PM
#8
Thread Starter
Junior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|