First up, try restarting the Origin app. You should not only close the app by clicking the Cross icon, but also open Task Manager, right-click all processes related to Origin, and select End Task.
To fix Origin error code 9:0, Installer encountered an error, check out the following solutions. Restart and retry installing Restart the Microsoft .NET Framework ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results