I am evaluating wyUpdate and the Automatic Updater for my product and have created a Windows service that uses the automatic updater backend to update the application. Everything worked perfectly until I updated the download site in the client.wyc file (using wyBuild). For some reason, when the service starts the update (it appears to be when I call Initialize or AppLoaded) the client.wyc file in the folder where the service (and wyUpdate.exe) is running from reverts to an older version with the old download site.
Here are the steps I take:
- Changed the download site in wyBuild- Rebuilt wyUpdate- Built my service and deployed it with wyUpdate and client.wyc files- Opened the client.wyc file to verify the correct download site- Triggered the service to start checking for updates (using a custom command)- Update fails, open client.wyc and it is now pointing to our old download site (the file has an old creation date as well)
I attempted to clear the cache as mentioned in this post https://wyday.com/forum/t/682/wyupdate-seems-to-prevent-application-from-running-after-upd/, along with the appdata cache for the system profile (since the automatic updater is being called from a service) but it is still reverting to this old file.
We are wanting to purchase wyBuild for our product but don't want to move forward until we are sure that it will work for us. Thank you!