当前位置: 动力学知识库 > 问答 > 编程问答 >

.net - How to run a .exe file asp.net

问题描述:

I need to run a .EXE from a web browser using Asp.net, whenever particular button is clicked in a web page it should open up the installation wizard, rather than downloading it

Can any one help me out

Thanks in advance

网友答案:

For obvious security reasons you cannot run EXEs on client computers from a web application. If this was possible that would be a huge security vulnerability. The best you could do is provide a download link to the executable and ask the client to download and install it.

If you on the other hand you want to run the executable on the server you could use the Process.Start method.

网友答案:

You cannot run any exe you choose on a users machine. This would be huge security flaw.

You can consider ClickOnce if you absolutely must use something like this

ClickOnce is a Microsoft technology that enables the user to install and run a Windows application by clicking a link in a web page.

Refer: ClickOnce Deployment Overview

Browser support however is limited to IE and via addons on firefox.

分享给朋友:
您可能感兴趣的文章:
随机阅读: