Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing bad installs from Add/Remove programs

Tags:

I've created a custom boot-strapper for my application using Wix and Burn, but in the time it took to learn I managed to install several early variants in such a way that they won't uninstall. I think I created the problem by running Engine.Apply before PlanComplete had been called.

Where is the information that builds the list in Add/Remove programs and what is the best way to manually remove orphaned rows?

Update - I should have said I'm on 64 bit Windows 7 Enterprise, Service Pack 1.

like image 596
TomDestry Avatar asked Aug 07 '13 17:08

TomDestry


People also ask

How do I get rid of add/remove programs?

In Control Panel, double-click Add/Remove Programs. In Add/Remove Programs, verify that the program for which you deleted the registry key is not listed. If the program list is not correct in Add/Remove Programs, you can double-click the Uninstall.

How do I hide programs from Add Remove Programs?

Right-click on the app name and choose Hide from the Programs and Features list. If you want to hide all the apps, click on Edit and choose Select All. Right-click on any app name and choose Hide from the Programs and Features list.

What do you mean by Add and Remove uninstall program?

The Add or Remove Programs is a feature in Microsoft Windows that lets a user uninstall and manage the software installed on their computer. This feature was introduced in Windows 98 as Add/Remove Programs, later renamed Programs and Features in Windows Vista and Windows 7, and then Apps & features in Windows 10.


2 Answers

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall or HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninst‌​all- this is the location where the add remove programs gets populated. If you remove the entry from the registry it would take out the entry. You can delete the key from here as described below and also physically locate and delete the files/folders.

In Registry Editor, locate the registry keys mentioned above.

Each key listed under Uninstall in the left pane of Registry Editor represents a program that is displayed in the Currently installed programs list of the Add or Remove Programs tool.To determine which program that each key represents, click the key, and then view the following values in the details pane on the right:

DisplayName: The value data for the DisplayName key is the name that is listed in Add or Remove Programs.

-and-

UninstallString: The value data for the UninstallString key is the program that is used to uninstall the program.

After you identify the registry key that represents the program that you removed but which is still displayed in the Currently installed programs list of Add or Remove Programs, right-click the key in the left pane of the Registry Editor window, and then click Delete.

Microsoft Link

like image 159
Isaiah4110 Avatar answered Nov 16 '22 14:11

Isaiah4110


If you can't find it in either of the folders in the answer, you can do a Ctrl+F (Edit - Find...) and search for the exact display name. I had this issue when making a bootstrapper and I was very frustrated after searching line by line through each mentioned folder, not realizing there was a search function. It ended up being under one of the folders in HKEY_USERS instead of HKEY_LOCAL_MACHINE for me.

like image 41
freedompurveyor Avatar answered Nov 16 '22 16:11

freedompurveyor