在ClickOnce安装过程中阻止应用程序执行 [英] Prevent application execution during ClickOnce install

查看:75
本文介绍了在ClickOnce安装过程中阻止应用程序执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,需要通过ClickOnce在网页上进行部署,但是我只需要安装该应用程序,而无需在安装完成后自动执行它.即使在初次安装后,用户也必须从开始菜单手动启动应用程序.

I have an application that I need to deploy via ClickOnce on a web page, but I need it to only install the application and not execute it automatically after the install is complete. The user should have to manually start the application from the start menu - even after the initial install.

我如何做到这一点?

推荐答案

答案在MSDN文章

The answer is in the MSDN article How to: Disable URL Activation of ClickOnce Applications by Using the Designer.

这篇关于在ClickOnce安装过程中阻止应用程序执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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