Click here to Skip to main content
15,905,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here is the issue. I am building web application that will provide installing software from server. Clients will come to the main age, choose an application they need, click Install and then exe will transfer to their computer and run setup. Thats how admin will share software with clients, which is written either in C# or WCF.
I did this with ClickOnce, it was working just right, but it's working only with IE and I need something cross-browser. What can you advise me? Should I create setup projects and download them to client and then launch it from my page or maybe there is another solving for this problem?
Posted

You won't get this functionality cross-browser since it uses Microsoft specific features.
 
Share this answer
 
Comments
valeriyabobko 5-Mar-12 9:04am    
I know that. I guess I can download setup.exe to client machine then run it. But may be there is any more beautiful solution to this
[no name] 5-Mar-12 9:28am    
The download and setup will have to be manual of course, done by the user on the machine.
valeriyabobko 8-Mar-12 15:42pm    
thanks for your reply!
You cannot do this in the general case, and for good reason. Imagine how much of a security risk it would be to have web pages permitted to launch .exes on the client machine!

Your options are essentially
i) make them click a download and run it manually, or
ii) write a desktop app as a WCF client which downloads and runs things.
 
Share this answer
 
Comments
valeriyabobko 5-Mar-12 14:51pm    
thanks for advise!
It's company's intranet so I thought I can download .msi to the clients computer normally with no security problems.
WCF is not an option. I need exactly ASP.net.
Guess will have to follow your i) advise
thanks again for attention

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