简体   繁体   中英

run .msi setup file after accessing web site from server to client

I have created a web application in ASP.NET, with C#. I am getting the following message in my browser window when accessing the application:

---------------------------
Windows Internet Explorer
---------------------------
Stop running this script?
A script on this page is causing Internet Explorer to run slowly.
If it continues to run, your computer might become unresponsive. 

I researched into the problem and found the following link, which is proposed as a solution to this problem:

http://support.microsoft.com/kb/175500

I want to execute this setup when a client accesses the web site for the first time. How can I run this setup on the client side?

It is not possible to fully automatically run some program from a website as @cHao said, this is what all browsers prevent. But you may look at ClickOnce deployment, it allows for very fast and easy installation of your program literally in one click. http://msdn.microsoft.com/en-us/library/t71a733d(v=vs.80).aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM