Validation error still results in dl completed?

Topics: Updater Application Block
Jan 22, 2004 at 4:19 PM
originally posted by: AdamPat

HI,

If the validation fails, for some reason the download is still marked as complete, and the application just sits there until the next poll occurs. The log shows this. Is this a bug? Is there a workaround?

Thanks,

Adam

DownloaderManager.ValidateFiles :
FILE VALIDATION FAILED:
The file 'ClientWinforms.exe.config' failed validation.
Stopping validation, deleting all files to prevent questionable files from remaining.


DownloaderManager.CheckDownloadCompleteOrError :

Download Completed 694d2a37-6863-6561-6c53-74756172742a,475fc262-6172-6d65-654d-616c636f6d5f,2015914c-6445-654a-7a69-6572736b6920,f5c31cd0-4a5f-7961-2053-61777965725f,a08af941-208e-614a-6d69-65436f6f6c20.
Jan 23, 2004 at 6:44 AM
originally posted by: wsabey

may be a problem with the validated events. When testing the self-updating example, it appeared that the filesvalidated event wasn't triggered either.
http://www.gotdotnet.com/community/messageboard/Thread.aspx?id=152669
Jan 23, 2004 at 6:56 AM
originally posted by: AdamPat

I don't get that problem. If I don't have a validation error, everything works correctly. So how can I check if validation failed?
Jan 23, 2004 at 11:51 AM
originally posted by: wsabey

add a handler for the FilesValidationFailed event