Hello Eenigmaa. Thank you for posting on the HP Forums. I understand your computer is experiencing difficulties when installing your printer. To ensure you are following the correct process, please follow the directions from this HP website: How to Install and Download HP Printer Software and Drivers
If you experiencing an error, while installing software, please provide the entire error message/ code. Otherwise, I hope this assists you. I'm only here to help!
Mario