I am very new to AutoIT, so please be gracious ;-) I must be missing something simple. I am downloading a print driver that is a zip self extracting archive. I have gotten to the point of being able to add the print driver and it simple is not working.
Here is the line:
_PrintMgr_AddPrinterDriver("PCL6 Driver for Universal Print", "Windows NT x86", "c:\temp\z81459L17\disk1", "c:\temp\z81459L17\disk1\oemsetup.inf")
I am getting an error in event viewer:
Label
PSetupInstallPrinterDriver
Message
InstallDriverFromCurrentInf failed
AdditionalInfo
-
InfPath
c:\temp\z81459l17\disk1\oemsetup.inf
DriverName
-
InstallSection
-
ProcessorArchitecture
Windows NT x86
PackageAware
Not package aware
CoreDriverDependencies
-
LastError
0x5
HResult
0x80070005
The disk path is correct, I have set the name in the script from the drvname that is in the oemsetup.inf. I am sure that I am missing something really simple here.
Installing on a Windows 10 Professional machine.