win32ui.dll Error in Windows 10 and 11: Windows Setup wizard pages

Windows Setup reaches its wizard but a particular dialog closes or cannot navigate, and diagnostics name win32ui.dll.
The Windows file inventory identifies win32ui.dll as Setup Wizard Pages. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Record the wizard page, language, Windows build and whether the files came from the official installer. Use Setup logs to distinguish display errors from a storage or compatibility failure.
Repair the affected feature
Obtain verified Microsoft installation media for the same intended edition and language. Preserve the current installation or approved backup while following Microsoft's repair procedure.
If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.
Verify the repair
Open the same Setup page from the verified media and confirm the expected controls and next screen work before committing an installation.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.