I keep getting the same error and I've uninstalled mapleroyals beforehand, also I turn off windows defender before I start downloading.
Try restarting your PC and try again, most likely there is some process still being run in the background that is blocking the install which was not closed properly.