从Web应用程序运行桌面程序 [英] Run desktop program from web application

查看:99
本文介绍了从Web应用程序运行桌面程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按钮,如果该exe存在,则在系统上查找特定的exe,然后运行该按钮,否则将首先安装然后运行它!(.exe基本上是一个窗口应用程序)

button in web application that looks for a particular exe on the system if the exe exists then it is run else it is first installed and then run!!(.exe is basically a window application)

推荐答案

您打算做的正是ClickOnce的作用:-)

它将首次安装并运行该应用程序,并且在每次进一步运行时,它将直接运行该应用程序,或者如果有可用的较新版本,则将更新该应用程序.

Google进行 ClickOnce部署,您将获得大量信息.
What you propose to do is precisely what ClickOnce is for :-)

It will install and run the app the first time, and on each further run it will run the app directly or update the app if there''s a newer version available.

Google for ClickOnce deployment, and you''ll get tons of info.


您无法通过Web应用程序执行此操作.浏览器不允许这样做,因为它违反了安全性.
You can''t do that from a web application. Browsers won''t permit it because it''s a security violation.


是的,您无法从浏览器运行桌面应用程序.
Yes you can''t run desktop applications from browser.


这篇关于从Web应用程序运行桌面程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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