Well... You can get a list of *uninstallable* apps by enumerating the
subkeys under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
(At least on Win NT and 2K). But that's likely to be a subset of all
installed apps. Getting something like a true inventory of installed
software would be quite a task I think. I believe MS's Systems Management
Server does it...
I've not seen a very good solution for enumerating registry subkeys--the
last time I looked into it I believe the advice was to shell out to RegEdit
to export the root key of interest to a text file, and then parse the text
file. Bleah!
HTH,
-Roy
-----Original Message-----
From: Asim Karim [mailto:asimkarim@y...]
Sent: Monday, September 10, 2001 7:08 AM
To: professional vb
Subject: [pro_vb] Getting a list Of Installed apps from Registry
Hi,
I am looking to retreive a list of applications
installed by reading the registry.
I cant seem to find the code when searching the
internet. Has anyone done this in the past? Or anyone
with an alternative?
Thanks in advance
Asim