-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updateInstaller throw IOException #49
Comments
Hi, it may be that this error has already been reported, but I could not fix it due to a lack of information and the fact that it is only temporarily appearing. Best, |
Sorry, it meants "The directory is not empty." |
Thank you. I will check that out and see, if I can get further information. |
Should be fixed by 720e563. |
Version: 3.2.1
It doesn't happen every time. But, every time this error occurs, the host app directory in Temp is always not cleared. So I added a log in
MainForm.Fail(Exception ex)
,like this:
System.IO.File.AppendAllText(@"D:\installerLog.txt", ex.StackTrace);
The StackTrace:
在 System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound) 在 System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) 在 nUpdate.UpdateInstaller.Updater.CleanUp()
I think it is it was caused by calling
Directory.Delete
when the thread did not release the host app directory in 'Temp'.P.S. It is difficult to cause this exception if the files in the update package are too small.
The text was updated successfully, but these errors were encountered: