Hi, Follow the steps below and check if that resolve the issue:
1. If you have Mcfee software, open Mcafee software, from the Virus and Spyware Protection section click on Schedule and run scans. Click on Real time scanning and then on Turn Off. select till I restart the PC and confirm by clicking the Turn Off button.
As well be sure to disable any real time protection and anti virus software.
Now try reinstalling the HP Software and check if the installation goes as expected.
If the issue persists run the following tool, then run the installation file and check for any difference: