If you receive error code 0xc7700112 while upgrading to Windows 11/10, you need to remove orphaned Windows Setup Entries from BCD Store.