如何添加在.NET安装项目卸载选项? [英] How to add uninstall option in .NET Setup Project?

查看:155
本文介绍了如何添加在.NET安装项目卸载选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在.NET安装项目似乎有很多选择,但我没有看到一个卸载选项。

The .NET Setup project seems to have a lot of options, but I don't see an "Uninstall" option.

我倒是preFER如果人们能卸载,从标准的开始菜单文件夹中,而不是将其发送到控制面板卸载我的应用程序,这样可以有人告诉我如何做到这一点?

I'd prefer if people could "uninstall" from the standard "start menu" folder rather than send them to the control panel to uninstall my app, so can someone please tell me how to do this?

另外,我知道有这个功能的非微软的安装程序,但如果可能的话,我想留在微软的工具包。

Also, I am aware of non Microsoft installers that have this feature, but if possible I'd like to stay with the Microsoft toolkit.

推荐答案

您可以快捷方式:

msiexec /uninstall [path to msi or product code]

这篇关于如何添加在.NET安装项目卸载选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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