I'm trying to call
InstallPrinterDriverFromPackage function. This causes
Just wanted to know possible reasons of this.
Thank you in advance.
Were you able to narrow down what updates affected this?
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.
5 people are following this question.