Installation error 1402

That sounds like a Windows error -
The Microsoft forums have a solution listed here
https://answers.microsoft.com/en-us/windows/forum/all/how-to-slove-error-1402could-not-open-key/fc588dbb-136b-473e-b841-8e2521363dad