如何完全卸载从我的电脑ClickOnce应用程序?我的、应用程序、电脑、ClickOnce

由网友(嘴上没毛办事不牢@)分享简介:在与试图发布既是一个的富和美孚测试版的版本,通过我的应用程序的的ClickOnce 我设法揍了现有的和previously,工作细的富的1.0.0安装(用的美孚测试版的1.0替换它5,不工作),由于使用相同的 GUID ,装配名称,产品名称什么的。 确定,诚实的错误。在试图恢复这个我然后卸载的美孚测试版的使用Windo...

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

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

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

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

到目前为止,我已阅读堆栈溢出问题的 卸载ClickOnce的客户 和 如何我可以删除ClickOnce应用程序的所有痕迹从客户的计算机 的,并试图: 删除所有相关的富的下%USERPROFILE%/ .exe文件目录 运行mage.exe -cc 编辑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:

Deleting all the relevant foo.exe directories under %USERPROFILE%/ Running mage.exe -cc Editing the HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionUninstall 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

阅读全文

相关推荐

最新文章