Validation error still results in dl completed?

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


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?



DownloaderManager.ValidateFiles :
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 7: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.
Jan 23, 2004 at 7: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 12:51 PM
originally posted by: wsabey

add a handler for the FilesValidationFailed event