如何做到自定义任务期间安装的ClickOnce应用程序/卸载? [英] How to do custom tasks during install/uninstall of a ClickOnce app?

查看:215
本文介绍了如何做到自定义任务期间安装的ClickOnce应用程序/卸载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有什么方式的ClickOnce应用程序的安装或卸载时运行自定义代码?

Is there any way to run custom code during the installation or uninstallation of a ClickOnce app?

这个问题已经在这里 问过,但那是很久以前,有给出的答案是非常恕我直言缺憾,而且我有种希望VS的后续版本提供了一个更好的解决方案...

This question has been asked before here, but that was a long time ago, the answer given there was IMHO very kludgy, and I'm kind of hoping that the later releases of VS have provided a more elegant solution...

推荐答案

检查下面的文章:

管理的ClickOnce部署

演练:创建自定义安装程序的ClickOnce应用程序

这篇关于如何做到自定义任务期间安装的ClickOnce应用程序/卸载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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