There are a few ways to delete failed installation files. One way is to use the Windows 10 Recovery Drive. Another way is to use a third-party software like CCleaner.