Windows Forms Application Update

January 9, 2013 at 06:37:10
Specs: Windows 7
Hello everyone:).I am curently developing a C# application and I need to make it check for updates.
I've never done something like this before in C#.My application output type is windows application.I have a website.I succeded in connecting and downloading the supposed file for update from the server but how to I do the file replacement so to say? My application output type is windows application so I would need to replace the app exe.
So in need for some help please:D..

See More: Windows Forms Application Update

Report •

January 10, 2013 at 06:23:09
You'll need to make a second application responsible for applying the patch, as a process holds a handle to its executable that blocks writing. How you go about this is up to you; there's the typical trade off of how much work you want to put in versus how much work the user will have to do. The easiest way would be to use something like ClickOnce, but I believe that's more for an intranet environment.

How To Ask Questions The Smart Way

Report •
Related Solutions

Ask Question