Were you able to narrow down what updates affected this?
InstallPrinterDriverFromPackage 80070490 issue
Hi all,
I'm trying to call InstallPrinterDriverFromPackage
function. This causes error
80070490`.
Just wanted to know possible reasons of this.
Thank you in advance.
Hrach Martirosyan
2 answers
Sort by: Most helpful
-
-
09917186 96 Reputation points
2021-03-22T13:53:19.007+00:00 I recently got same error E_ELEMENT_NOT_FOUND (0x80070490) on calling InstallPrinterDriverFromPackage, which was obviously caused by UploadPrinterDriverPackage's parameter dwFlags UPDP_CHECK_DRIVERSTORE. When using UPDP_SILENT_UPLOAD instead, I never encountered any trouble, neither before nor after experimenting with UPDP_CHECK_DRIVERSTORE. I haven't tried UPDP_UPLOAD_ALWAYS, but I could well imagine that replacing it by UPDP_SILENT_UPLOAD could solve your problem.