File get corrupted after new updatesSolved

Hello,

I am using wyupdate to update my software. I just uploaded new updates on server for my software. This updates had two executable in it.

After my application gets updated, from two files one file get corrupted and its size was 0 bytes. While second file downloaded fine.

Can you please help me why this happened

Thanks,

This shouldn't happen, in fact we have a number of algorithms in place to prevent this from happening. That is, wyUpdate explicitly verifies a file's integrity when the file is extracted from an update. And if the file is a patch, the integrity is checked again after the destination file is patched. If at any point a file becomes corrupted as a result of either the extraction or patching process, wyUpdate rolls the update back to the last good state.

In your wyBuild project make sure the file referenced in the new version tab references a fully valid file (and not a 0 byte file). Also, can you reproduce this behavior? Try rerunning the update, do you get the same result? Send me all relevant files (the updates, the wyBuild project file, the source files) to wyatt@wyday.com.

No I am not able to reproduce this error. My application is running at 3 locations. And file only get corrupted at one location only. Also only one file is of 0 byte. Second file updated successfully. At other two locations software got updated successfully.

So is it because of internet connection problem or anything else?

So is it because of internet connection problem or anything else?

No, if the update got corrupted during the download then wyUpdate would've shown an error before it even extracted the update. I have no idea what would cause this -- maybe your anti-virus program interfered. Some free anti-virus programs are very shoddily made.

Without reproducing the error I can't tell you what the exact problem was.