Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can we download a window application's exe from a web application???
If we can the scenario is:
1. The website will have a link to downdoad the exe.
2. When the link is clicked it will first be checked if the exe already exists on the computer,
if it does than overwrite the version, else simply download.
Please provide a sample code for the same.
Posted

Yes, you can download any type of files from a web application, but you can't force the client to replace an existing file in his system, as your website don't have any access to the clients machine. Client is free to save the file any where.

To achieve this you can develop a active-x control which checks the clients machine and do what you are looking for, but for this client need to install the active-x control in his system.
 
Share this answer
 
Comments
coderaug 17-Aug-10 2:43am    
Can u please provide with sample code
I think ClickOnce installer can solve your problem.
 
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