Weird shutdown error

Request Type: BUG

MCEBuddy Version and Type (32bit or 64bit): 2.4.9 2018-02-12

Operating System and Type (32bit or 64bit): Win10 x64

Summary of the problem or suggestion: Not sure. Windows stacktraces are not helpful as the input parameters critical to identifying the problem, aren’t in the logs. Must have taken a cue from the Java folks. e.g. “Class not found.”

Basically, it couldn’t delete something, but damned if anyone knows what it was trying to delete. So as to fix the problem. Just saying. (I know that’s not your problem, it’s just mass stupidity across the language runtime developers).

Error Unable to delete installation directory.
Error:System.UnauthorizedAccessException:
Access to the path ‘MCEBuddy.Globals.dll’ is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at MCEBuddy.Service.ProjectInstaller.DeleteDirectory(String dirPath)

Steps to replicate the bug: Viewable as ‘Error’ type entry in the event logs.

Yes that a windows installer quirk, this is caused when the file is locked by a program (e.g. antivirus) while it’s trying to uninstall it.

Usually it logs the errors but the file gets deleted once the lock is released so it’s clean anyways. If not it may be due to a file permission issue, see the installation issues topic and refer to the canonical issues FAQ.