How to make an automatic update of an EXE project in a C # and Azure Startup task?

My project related to azure has a critical and interesting problem. I created one web application, and from there the user can download the plug-in (EXE project in C #) and download the EXE and configuration file after unpacking their applications that are deployed on the Azure platform, and that exe periodically sends data to my web application for monitoring custom application on Azure.

Now my problem is that if I make any changes to the EXE project, then how do users who have the old plug-in update their files (plug-in) in their existing application? I need an automatic update type mechanism, so I can avoid the conflict between the old and new versions of the EXE project.

I hope that my problem makes sense to you if you have some information on the task of starting Azure.

Thanks Arun.

+4
source share
2 answers

I am sure that the above solution will meet several problems when trying Windows Azure. Due to security issues, due to problems updating the exe will fail. You will have to change the design to have such an application design.

Try the following: Will the autorun task launch work in an azure application?

+1
source

If I understand your problem correctly, you provide a custom EXE client that becomes part of the Azure startup task and runs during the entire instance launch time.

One thing that can be done is to create a self-updating mechanism in the EXE itself. If you've ever used Reflector , it has a self-updating mechanism where it asks the user when a new version is available. Something like this could be built. Things you should have in mind would be

  • Decide where updates are downloaded.
  • What happens when the update location changes.
  • Any security restrictions.

Also look at some sellers in this space, such as Cumulux ​​and Cerebrata, how they make stuff.

+1
source

All Articles