Hello,
I am using the AutomaticUpdaterBackend class to automatically upgrade a .NET windows service. We are currently planning our test strategy for this feature. We have 3 distinct environments: dev/staging/production. We would like to roll upgrades out in a phased approach to dev then staging before users are impacted in our production environment.
We looked at the AutomaticUpdaterBackend API and were unable to find a way to set this list before checking for upgrades. We would like to add an optional .config setting to our app which we could use to have our environments point to separate upgrade servers (while testing the same software). Is there any way to accomplish this programatically using AutomaticUpdaterBackend?
One solution that we came up with was to use the hosts file to redirect outgoing requests in our dev and staging environments. This could work, but is not ideal for us.
Regards!Josh Coleman
P.S. Thanks for the help on my previous thread about the service not restarting. I think the issue was that I was using 'sc create' and setting the binpath. Once I deployed with InstallUtil everything started working fine.