I'm trying to implement auto update functionality in my application, and WyUpdate seems like a good system for that.. However, now that I started testing, I ran into a problem..
In wyBuild I created an initial v1.07, containing the following files:- myapp.exe (v1.07)- myapp.dll (v1.07)- changelog.txt (v1.07)- AutomaticUpdater.dll
I created an installer (using Inno) for v1.07, in which I included the generated files:- wyUpdate.exe (built for v1.07)- client.wyc (built for v1.07)
When I installed this version, it ran fine of course
I then changed a text in myapp.dll to display "v1.08" and recompiled, just to test the auto update.I copied the freshly compiled .exe, .dll and an updated changelog.txt into a new folder, and created a v1.08 in wyBuild with these new files. I generated an update and uploaded it to the server.
After uploading the update to the server and then running my application again, the auto update code in my application successfully detected a new version and updated to 1.08.. Or so I thought. The dll file still appears to be the old version v1.07, even though the changelog.txt *was* successfully updated. I'm curious as to how this could happen? Maybe the dll is still in use and can't be updated? if so, how do I stop my application from using it, since I'm calling the update from my code it needs to be running, right?
Any info would be greatly appreciated,PV