Hi Sam, thanks for your response.
Here are the errors and steps to reproduce the problem:
See information above in regard to the code and events processed, etc.
The user clicks on our custom dialog to start the download and update.
Using automaticUpdater properties/methods, the download and update starts.
If I pull out the network cable immediately to remove internet connectivity, at about 0% automaticUpdater1_ProgressChanged, I correctly get this error:Error = Error trying to save file: Error downloading "http://pwb_test.lsa.local/Update/PWBReaderIndividualInstallation/wyserver.wys": The remote name could not be resolved: 'pwb_test.lsa.local'
If I pull out the network cable later, about 5% automaticUpdater1_ProgressChanged, the download and update progresses completely and successfully, even though there is no network connectivity at that point!
If I pull out the network cable on about 1% download:
Eventually automaticUpdater1 times out and gives this error:
Error = Error trying to save file "C:\Users\Phil\wc\3\patentworkbenchreader.all.to.2.2.0.wyu": The operation has timed out.
Or other times, get this error:
Error = Error trying to save file: Error downloading "http://pwb_test.lsa.local/Update/PWBReaderIndividualInstallation/patentworkbenchreader.all.to.2.2.0.wyu": Unable to connect to the remote server
Sometimes, the automaticUpdater1_ProgressChanged starts at a high percent immediately, such as 94%, and it says "extracting" so it seems that the wyu file is downloaded, and it's in the extraction phase?
Put back in the network cable to restore internet connectivity.
The user clicks again to start the download and update.
Sometimes the download and update succeeds, sometimes it fails.
It seems that if I wait several minutes after inducing the failure, and then try again, automaticUpdater1/wyUpdate "refreshes" or "reinitializes", or whatever and then works?
In summary, what I would like to know is: What is the process for automaticUpdater1/wyUpdate error recovery? What should I do to best handle errors, i.e. reinitialize automaticUpdater1/wyUpdate so that the user is not presented with errors, i.e. the process starts over again fresh?