retrieving Uninstall information from registry

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
vanfanel
Newbie
Posts: 15
Joined: Sat Sep 11, 2004 12:38 pm

retrieving Uninstall information from registry

Post by vanfanel » Fri Sep 24, 2004 4:02 pm

Is there a way to retrieve the listing under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

I would like to create a macro to uninstall various programs. For instance, I install different builds of the same program. The specific build does not show up under "Add/Remove" programs and their is no uninstall executable. It only shows up as the generic name and version in "Add/Remove" however, I install them in different folders to differentiate them. The "add/remove" listing is difficult to use because all the builds are identical in name (only differing in size and date). The install location along with other information is stored in the registry however I'm not sure how to retrieve that within MacroScheduler (or VB if possible). Is there anyway to retrieve that or is their some other helper application that might be useful here. thanks!

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Fri Sep 24, 2004 8:20 pm

There are a number of Registry Viewers out there. Google for RegView or Registry Viewer. I can't personally recommend any specific one right now. Lumumba, where are you?

Look for command line features to allow Macroi Scheduler to export desired branches to a file which you can then read with Macro Scheduler.

I do recall one site mentioning that regview.dll was a spyware logger. Can't confirm that, but thought a mention was worthwhile.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Fri Sep 24, 2004 10:03 pm

Hi Bob,

My personal favorite tool is Resplendence Registrar for the Command Line (http://www.resplendence.com/rrcomline).

Happy scripting.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts