Error Code 45 is quite a common error people see in the Device Manager. This error occurs when Windows fails to recognize the hardware device connected to the system ...
Have you tried to start the installation of another OS (Linux for example), to see if it proceeds? If it does, that would rule out the possibility of a failing HDD.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results