如何完全卸载从我的电脑ClickOnce应用程序? [英] How do I completely uninstall a ClickOnce application from my computer?

查看:1392
本文介绍了如何完全卸载从我的电脑ClickOnce应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在与试图发布既是一个的美孚测试版的版本,通过我的应用程序的的ClickOnce 我设法揍了现有的和previously,工作细的的1.0.0安装(用的美孚测试版的1.0替换它5,不工作),由于使用相同的 GUID ,装配名称,产品名称什么的。

确定,诚实的错误。在试图恢复这个我然后卸载的美孚测试版的使用Windows 7添加/删除程序。

我的电脑是现在的状态下没有实例的的显示在Windows 7中添加/删除程序。但是,的美孚测试版的仍显示为已安装。另外,我无法重新安装的的1.0.0,因为它认为,该方案的新版本(美孚测试版的1.0.5)已经上存在我电脑 - 而不是我得到的`无法安装,因为已安装此产品的新版本消息

我怎样才能得到我的电脑的状态下没有的的也不美孚测试版的曾经被安装就可以了,这样我就可以去重新安装的?

到目前为止,我已阅读堆栈溢出问题的 卸载ClickOnce的客户 如何我可以删除ClickOnce应用程序的所有痕迹从客户的计算机 的,并试图:<? / P>

  1. 删除所有相关的的下%USERPROFILE%/
  2. .exe文件目录
  3. 运行mage.exe -cc
  4. 编辑HKEY_CURRENT_USER \软件\微软\的Windows \ CurrentVersion \卸载和删除我的的程序条目。

当我运行安装程序,我仍然得到错误。它在哪里找到我的程序的痕迹?而对于未来的参考,这哪里是记录?

解决方案

您可以尝试使用此命令清除的ClickOnce缓存:

  RUNDLL32 dfshim CleanOnlineAppCache
 

While experimenting with trying to publish both a Foo and Foo Beta version of my application via ClickOnce I managed to clobber the existing and previously-working-fine Foo 1.0.0 install (replacing it with Foo Beta 1.0.5, which does not work) due to using the same GUID, assembly name, product name or something.

OK, honest mistake. In an attempt to revert this I then uninstalled Foo Beta using the Windows 7 add/remove programs.

My computer is now in a state where no instance of Foo shows up in Windows 7 Add/Remove programs. However, Foo Beta is still shown as installed. In addition, I am unable to re-install Foo 1.0.0, because it thinks that a newer version of the program (Foo Beta 1.0.5) already exists on my computer - instead I get the `Unable to install because a newer version of this product is already installed' message.

How can I get my computer to a state where neither Foo nor Foo Beta have ever been installed on it, so that I can then go and re-install Foo?

So far I have read Stack Overflow questions Uninstall ClickOnce clients and How can I remove all traces of a ClickOnce application from a customer's computer? and tried:

  1. Deleting all the relevant foo.exe directories under %USERPROFILE%/
  2. Running mage.exe -cc
  3. Editing the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall and removing the entry for my Foo program.

When I run the installer, I still get the error. Where is it finding traces of my program from? And for future reference, where is this documented?

解决方案

You can try using this command to clear the ClickOnce cache:

rundll32 dfshim CleanOnlineAppCache

这篇关于如何完全卸载从我的电脑ClickOnce应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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