A while ago I had this problem while installing printer software at a customer.

After searching what causes the problem and cursing HP for their “über software” I finally solved the problem!

There were certain services and DLL files that were not properly uninstalled.

The Windows services (files) were:

Pml Driver HPZ12 (C:\Windows\System32\HPZipm12.dll)
Net Driver HPZ12 (C:\Windows\System32\HPZinw12.dll)

These 2 services will corrupt your installation resulting the error mentioned above.

THE SOLUTION!

  1. Check to make sure that the 2 Windows services above are not running (or not installed).
  2. - Services.msc

  3. Rename the 2 associated service DLL files (this will only be possible once the services are stopped)
  4. Run the installation again.

The steps above should resolve your problem.