10
I would like to know the recommended procedure for a Windows service to auto-update.
The main questions are:
- After the service download a new version of itself, how to stop the service and restart it with the new version?
- What procedures should be adopted so that it is not confused with a malicious process (sign with
strong key
would be an alternative?)
I also accept (unpaid) library suggestions that perform this function.
In the Codeplex Cove finds several alternative.
– lsalamon
I searched there too, I found nothing to satisfy my need.
– rubStackOverflow
Surely it will be difficult to find something exact for your case, as your approach has its own specifications. But the infrastructure for you to build your project exists.
– lsalamon
@rubStackOverflow, there is the possibility to migrate this application to Web . Once performing this procedure just change the DLL for the application to be updated. We usually don’t create Windows Services applications if they have the need for many updates or the update is inherent to the user’s will.
– Luã Govinda Mendes Souza