|
-
Nov 22nd, 2004, 06:48 AM
#1
Thread Starter
Lively Member
Patching the patcher
Hi everybody,
I delevoped a .net application using C#. Whenever a new, updated build is available, a second application (the patcher) downloads the patch file and applies it to the main executable.
But what If I have to apply the patch to the patcher?
Is it possible to modify the exe while it's running and then restart it? How to restart an application (close and reopen soon after) using C#?
Thanks for help, much appreciated, bye
- mo! I said MOOOOOOO!!
- ...yep, that's a cow, alright.
-
Nov 22nd, 2004, 08:02 AM
#2
Retired VBF Adm1nistrator
Well how about it checks if the app being downloaded is the main app or the patcher app. If its the main app, then update as normal. If its the patch app that's being downloaded, download it, close it, and have the patcher app downloaded replace the original patcher app
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Nov 22nd, 2004, 10:24 AM
#3
Thread Starter
Lively Member
ok, I'll run the new patcher with another filename (patcher_new.exe) so he could work safely on the original file (patcher.exe) while it's not running.
thanks
- mo! I said MOOOOOOO!!
- ...yep, that's a cow, alright.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|