从添加/删除程序中删除错误安装 [英] Removing bad installs from Add/Remove programs

查看:31
本文介绍了从添加/删除程序中删除错误安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Wix 和 Burn 为我的应用程序创建了一个自定义引导程序,但在学习过程中,我设法安装了几个早期的变体,使它们不会被卸载.我想我是在调用 PlanComplete 之前运行 Engine.Apply 造成的.

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?

更新 - 我应该说我使用的是 64 位 Windows 7 Enterprise Service Pack 1.

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

推荐答案

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallHKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninst‌ all - 这是添加删除程序被填充的位置.如果您从注册表中删除该条目,它将删除该条目.您可以从此处删除密钥,如下所述,还可以物理定位并删除文件/文件夹.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall or HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninst‌​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: DisplayName 键的值数据是添加或删除程序"中列出的名称.

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

-和-

UninstallString: UninstallString 键的值数据是用于卸载程序的程序.

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.

微软链接

这篇关于从添加/删除程序中删除错误安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆