Patch failed to apply: Error End of Stream reached..

I'm getting strange errors from one of my updates. Here's the error:

Patch failed to apply to C:\Program Files\My Company\My App\dbupdate\dbupdate_5.0.sql

End of stream reached with 668292 byte left to read.

I was getting this with some other sql files, I removed them from the previous versions and now it's stuck with this file. At first I thought it was that the file may have been edited on client pc (which they shouldn't have), but now I'm not sure since I know for a fact that that file hasn't been touched.

I know I can remove it from the build but I may need to add it later on and I'd rather know now what may be causing this issue.

Stats: Windows 7, Logged on as domain administrator.

ThanksJohn

Hey John,

Let's say the version installed on that computer is version 1.0 of your app. Let's also say the update is version 1.1 and that file has been changed. The reason you're getting the "Patch failed to apply [...]" error is that the file "dbupdate_5.0.sql" you included in version "1.0" in wyBuild is different that what is installed on the user's machine.

Does this make sense?

I thought so as well, from what I'd read here in the forums, if the target file is different from what wybuild expects, then errors occur. Well, we're still testing the update before we notify everyone, so for now I'll just remove the offending files and keep monitoring, but I swear I checked the files and they were identical.

Anyway, thanks for the awesome support.John