我到处寻找这个答案,但关于SO的所有相关问题都很陈旧. This问题来自2009年,最好的(也是唯一的答案)有3个步骤.真?我的意思是..卸载程序不是每个安装程序的基本功能吗?
为什么微软会创建一个基本上安装你的应用程序的功能而无需卸载它?这根本没有意义..所以我真的希望我找不到它,并且有一种简单的方法可以卸载“ClickOnce”应用程序.
编辑:
我正在使用Visual Studio 2015
解决方法:
在msdn论坛上找到这个答案.希望它会有所帮助.
Hi,
You can create a cmd file and type the uninstall string. Then add a
shortcut to this cmd file and put it to user’s program folder.Check this thread:
07001To find the “uninstall string”, you could search it in the registry:
07002
You could also create a console application for this. And put the
execute file with the deploy project then create a shortcut or copy
this file to the user’s program folder.07003
(The first FAQ)By the way, there is an article tells create uninstall shortcut for
clickonce:07004
Hope this helps.
Best regards,
Ling Wang