Click here to Skip to main content
15,886,101 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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)
Posted
Updated 3-Nov-10 1:26am
v2

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.
 
Share this answer
 
You can't do that from a web application. Browsers won't permit it because it's a security violation.
 
Share this answer
 
Yes you can't run desktop applications from browser.
 
Share this answer
 
 
Share this answer
 
Try Activex object for run client Machine Program .
:thumbsup:
 
Share this answer
 
U want something like this.
C#
protected void Button1_Click(object sender, EventArgs e)
    {
        System.Diagnostics.Process.Start("E:\\Folder1\\DSIL\\DSIL\\bin\\Debug\\DSIL.Exe");
    }
 
Share this answer
 
If the .exe is your program and it's a .net application you could look at deploying it with ClickOnce[^] which would do exactly what you are asking.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900