Link to home
Start Free TrialLog in
Avatar of boneal06
boneal06

asked on

Add Remove Programs

Anyone know how to programmatically remove items from the Add/Remove Programs List.
Avatar of frodoman
frodoman
Flag of United States of America image

I assume that what you're asking is about removing items WITHOUT actually removing the software?  This will be tough to do and will probably piss people off so I would advise against it!

If you're going to go ahead though, Windows builds the list for add/remove programs from the registry so I suppose by deleting the correct registry keys the item wouldn't be added to the list.  

Of course you'll have to figure out which keys to delete  - which will vary by version of windows - and also will need to determine if the application will still execute correctly without the registry keys in place.

Is it possible that you're trying to solve a problem by doing this and there may be a different way to address it?
SOLUTION
Avatar of Richie_Simonetti
Richie_Simonetti
Flag of Argentina image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yeah, yeah, but better know how would be used that info before posting, don't you think so?
Avatar of boneal06
boneal06

ASKER

Guys, thanks for the concern. But I'm a fairly experienced program. Actually a Manager who's often called to write programs for folks. Anyway, we have situations where software uninstalls have been removed, but the entry still exists in the Add Remove programs. Problem basically is a result of a package built with Windows Installer, not correctly unistalling the program.

AlexFM - That's the info, I was looking for.

Thanks.
I would still advise against following this approach.  You'll get the program off the uninstall list, but this won't clean out all of the other registry entries that may exist - and if the 'uninstall' entry is still there, odds are others are still there as well.

I would invest in an inexpensive registry cleaner utility.  By cleaning out the registry correctly you're going to have a more stable computer that will boot faster and have more resources available.

Just something to think about...