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

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

问题描述

我已经使用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_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\UninstallHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninst‌​all-这是添加删除程序的位置.如果您从注册表中删除该条目,它将删除该条目.您可以按如下所述从此处删除密钥,也可以物理定位和删除文件/文件夹.

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::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.

Microsoft链接

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

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