Setup attempt #1 (Hung up after 20 minutes)
2023-01-17 15:56:56, Info MOUPG *************** SetupHost Logging Begin ***************
2023-01-17 17:14:42, Info MIG Object [PresentationUI,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35,processorArchitecture=MSIL] is excluded from migration because it is a system object.
Setup attempt #2 (Hung up after 15 minutes)
2023-01-19 22:06:17, Info MOUPG *************** SetupHost Logging Begin ***************
2023-01-19 22:21:16, Info MIG Object [PresentationUI,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35,processorArchitecture=MSIL] is excluded from migration because it is a system object.
Setup attempt #3 (Hung up after 20 minutes)
2023-01-21 23:46:08, Info MOUPG *************** SetupHost Logging Begin ***************
2023-01-22 00:06:09, Info MIG Object [PresentationUI,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35,processorArchitecture=MSIL] is excluded from migration because it is a system object.
So, it hangs at the same spot (PresentationUI,Version=4.0.0.0) every time.
Starting the ProcMon trace at the 13th minute and running it for 8-9 minutes might capture the problem events.
Edit:
Launch OptionalFeatures.exe and uninstall all .NET 4.x components. PresentationUI,Version=4.0.0.0 is linked to .NET Framework. It's worth a try.