如何从客户的计算机中删除ClickOnce应用程序的所有痕迹? [英] How can I remove all traces of a ClickOnce application from a customer's computer?

查看:105
本文介绍了如何从客户的计算机中删除ClickOnce应用程序的所有痕迹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个大约120个客户正在使用的ClickOnce应用程序。本周,我发现两个客户拒绝在一月份进行更新,并停留在旧版本上。我是通过删除服务器上使用的旧版本的ASP脚本发现此问题的。尚未更新的客户会收到404并致电询问原因。

I have a ClickOnce application that about 120 customers are using. This week, I found out two customers declined an update in January and were stuck on an old version. I discovered this by deleting an ASP script the old versions used on our server. The customers that aren't updating get a 404 and call to ask why.

一个客户再次单击我们的安装按钮,就可以获取最新版本。另一个单击我们的安装按钮,并显示应用程序验证未成功错误。错误的详细信息是SomeImage.gif计算出来的哈希值与清单中指定的值不同。

One customer clicked our install button again and got the latest version no problem. The other clicked our install button and gets an "Application validation did not succeed" error. The details of the error are SomeImage.gif "has a different computed hash than specified in manifest."

我不想部署新版本,因为通常会导致在电话中问:您是否添加了我要的内容?

I don't want to deploy a new version because that usually results in phone calls asking, "did you add what I asked for yet?"

我认为我应该能够完全卸载该应用程序,并与一个有问题的用户一起完成此任务。不。错误仍然存​​在。如何删除Windows卸载过程留下的所有内容,这将导致此错误持续存在?

I figure I should be able to uninstall the application completely and resintall with the one problem user. Nope. The error persists. How can I remove whatever the Windows uninstall process leaves behind that would cause this error to persist?

更新:

我发现文件夹 C:\Users\User客户的Windows Vista计算机上的\AppData\Local\Apps\2.0 ,并将其删除。我们再次运行安装程序,并且在重新下载应用程序后错误仍然存​​在。我不是100%确信此文件夹包含整个程序,但是它是磁盘上唯一可以找到与我们的应用程序相似的位置。

I found the folder C:\Users\User\AppData\Local\Apps\2.0 on the customer's Windows Vista computer, and deleted it. We ran the installer again, and the error persisted after redownloading the application. I'm not 100% confident that this folder contained the whole program, though, but it is the only location on disk I could find that contained some resemblance of our application.

推荐答案

在Visual Studio工具文件夹中找到 mage.exe C:\Program Files\ Microsoft SDKS\Windows\v7.0A\bin )。将其复制到用户的计算机上。尝试以下操作:

Track down mage.exe in the Visual Studio tools folder (C:\Program Files\Microsoft SDKS\Windows\v7.0A\bin). Copy it to the user's computer. Try this:

mage.exe -cc

这将清除ClickOnce应用程序。在执行此操作后,我还将删除 \apps\2.0 文件夹-这是ClickOnce应用程序创建和使用的缓存。

This clears the ClickOnce applications. I would also delete the \apps\2.0 folder AFTER you do this -- this is the cache created and used by ClickOnce applications.

然后重新启动计算机。

这篇关于如何从客户的计算机中删除ClickOnce应用程序的所有痕迹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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