If you for some reason get this error during unattended installation of Configmgr.
The error is in the C:\ConfigmgrSetup.log
“Failed to create process of SetupWpf.exe. return value 1”
Rename HKLM\Software\Microsoft\SMS to HKLM\Software\Microsoft\SMS_old and try again.
The error occur if the installation has been started and fails. In my case it was due to a SQL issue.