Greetings, I was able to get the NAppframework to work and develop some other features for a project I'm working on, but now I have the need to make the updates using a ZIP stored on a server and I've created two tasks and a FeedReader made for that purpose only.
I have based the work around the FileUpdateTask and a UpdateFromZipFile task from a very old fork of this project (
https://github.com/DevShip/NAppUpdate), but the code should be more similar to the current FileUpdateTask.
Yet for some reason when I do a cold update, the already uncompressed files in temp cannot be moved since the files at my project are locked/being used by my app itself.
If I do an update using FileUpdateTask it works as intended, closing the app process and initializing the UpdateExecutableName ('foo.exe', by default), but my IP task doesn't and the file cannot but deleted/moved/overwritten. And by analyzing a Process Monitor, I noticed the new UpdateExecutableName process isn't run and that my app's process remains running.
I'll attach my tasks and the reader, forgive me if it looks confusing and not following good standards. I'm still a little green.
Basically I put the new reader in action at the UpdateManager.Instance and read the feed using "UpdateFromZipFile" and generate the Read() list representing each file from that ZIP as a ZipFileUpdateTask.
Also, I am using this to build a desktop app using the 4.0 framework and the project as the latest Nuget (0.5.1, if I recall correctly)
Thank you all for your time and effort put into my question and this magnificent project.