I have an application written in C# by using the XNA framework. So, it's basically built as a game with Update()
and Draw()
, and another thing is that this application is meant for running continuously without stopping.
The thing is that I want to do an autoupdate while running. By this, I mean the following thing: I have the application running, and I have a function that checks all the time for other versions of my application(changes that I do to my app and rebuild them in a new release version)
How can I make function that updates to another version which is within a specified folder. It checks whether that folder contains or not a zip archive with the new release of the project, it unzips it and shuts down the current application and starts the new version of the application from the given zip archive. Can you give me a starting point for this problem?