Hi, here is the test project:
https://github.com/lazarusccr/TestLazAutoUpdateI think I did all the steps right, the application is downloaded but when comes the time to get installed is not happening, I always stay at 0.0.0.0 (the online one is 1.0.0.0). I of course run it as administrator.
Also there's a memory leak somewhere.
The log:
[2017-01-15 11:57:40.858 Info] Start of Log
[2017-01-15 11:57:40.858 Info] updatehm version 0.0.15
[2017-01-15 11:57:40.859 Info] Given parameters follow:
[2017-01-15 11:57:40.859 Info] App name = testproject.exe
[2017-01-15 11:57:40.859 Info] Updates folder = updates
[2017-01-15 11:57:40.859 Info] WhatsNew filename = whatsnew.txt
[2017-01-15 11:57:40.859 Info] Pretty Name = testproject
[2017-01-15 11:57:40.859 Info] CopyTree = TRUE
[2017-01-15 11:57:40.859 Info] Please wait. Updating testproject....
[2017-01-15 11:57:40.860 Info] Application path = C:\Users\Damian\Documents\GitHub\TestLazAutoUpdate\bin\testproject.exe
[2017-01-15 11:57:40.860 Info] Updated application path = C:\Users\Damian\Documents\GitHub\TestLazAutoUpdate\bin\updates\testproject.exe
[2017-01-15 11:57:40.860 Info] WhatsNew path = C:\Users\Damian\Documents\GitHub\TestLazAutoUpdate\bin\whatsnew.txt
[2017-01-15 11:57:40.860 Info] Updated whatsNew path = C:\Users\Damian\Documents\GitHub\TestLazAutoUpdate\bin\updates\whatsnew.txt
[2017-01-15 11:57:40.861 Info] Writing.. whatsnew.txt
[2017-01-15 11:57:40.861 Info] Waiting 2 seconds...
[2017-01-15 11:57:42.863 Info] Copy to C:\Users\Damian\Documents\GitHub\TestLazAutoUpdate\bin\updates\testproject.exe failed [2017-01-15 11:57:42.863 Info] Restarting testproject...
[2017-01-15 11:57:42.870 Info] End of Log