Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

A simple dpinst64 of a printer driver doesn't work

$
0
0

I want to install the driver of a Xerox Phaser 3320 on machines in a task sequence. For that I created an application with execution command "install_drv.cmd". This batch includes the simple command:

@echo off
"%~dp0dpinst64.exe" /a /s

The package includes these files and folders:

amd64
Common
DATA
i386
Printer
AUTORUN.INF
CD.Ver
dpinst64.exe
install_drv.cmd
SetAlti.exe
Setup.dat
Setup.exe
Ssres.dll
sxr1m.cat
sxr1m.inf
sxr1mc.xml
sxr1mp.xml
sxr1mpp.ver
VERSION.VER

Arrived at the install step the TS is always in error.

Installation job completed with exit code 0x00000000	InstallApplication	10/08/2015 16:02:03	968 (0x03C8)
Execution status received: 4 (Application failed to install )	InstallApplication	10/08/2015 16:02:03	968 (0x03C8)
App install failed.	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Setting TSEnv variable '_TSAppInstallStatus'='Error'	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Setting TSEnv variable 'SMSTSInstallApplicationJobID__ScopeId_2C86EC9D-653B-42AE-915A-7C9838B0EA73/Application_400bd5a6-cf57-4a4a-b375-994138618fcd'=''	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Completed installation job.	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Step 3 out of 5 complete	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Install application action failed: 'Driver Xerox Phaser 3320'. Error Code 0x80004005	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Sending error status message	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
   Setting URL = http://srvprimary.domaintest.com, Ports = 80,443, CRL = false	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
   Setting Server Certificates.	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
   Setting Authenticator.	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Set authenticator in transport	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
   Setting Media Certificate.	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Sending StatusMessage	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Setting message signatures.	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Setting the authenticator.	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
CLibSMSMessageWinHttpTransport::Send: URL: srvprimary.domaintest.com:80  CCM_POST /ccm_system/request	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
CLibSMSMessageWinHttpTransport::Send: URL: srvprimary.domaintest.com:80  CCM_POST /ccm_system/request	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Request was successful.	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Install application action cannot continue. ContinueOnErrorFlag is set to false.	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
hrInstallation, HRESULT=80004005 (e:\qfe\nts\sms\client\osdeployment\installapplication\installapplication.cpp,915)	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
pInstall->InstallApplications(saAppNames, sContinueOnError), HRESULT=80004005 (e:\qfe\nts\sms\client\osdeployment\installapplication\main.cpp,277)	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Install Static Applications failed, hr=0x80004005	InstallApplication	10/08/2015 16:02:04	968 (0x03C8)
Process completed with exit code 2147500037	TSManager	10/08/2015 16:02:04	2144 (0x0860)
!--------------------------------------------------------------------------------------------!	TSManager	10/08/2015 16:02:04	2144 (0x0860)

I then looked in the following log

C:\Windows\inf\setupapi.dev.log

     sto:                {Copy Directory: C:\WINDOWS\System32\DriverStore\Temp\{143737dc-f92b-7de3-29b4-662f34c38310}\Common\string} 16:02:02.852
     sto:                     Target Path = C:\WINDOWS\System32\DriverStore\FileRepository\sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5\Common\string
     sto:                {Copy Directory: exit(0x00000000)} 16:02:02.867
     sto:           {Copy Directory: exit(0x00000000)} 16:02:02.867
     sto:      {Copy Directory: exit(0x00000000)} 16:02:02.867
     sto:      {Index Driver Package: C:\WINDOWS\System32\DriverStore\FileRepository\sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5\sxr1m.inf} 16:02:02.867
     idb:           Registered driver store entry 'sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5'.
     idb:           Published 'sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5\sxr1m.inf' to 'C:\WINDOWS\INF\oem262.inf'
     idb:           Published driver store entry 'sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5'.
     sto:           Published driver package INF 'oem262.inf' was changed.
     sto:           Active published driver package is 'sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5'.
     sto:      {Index Driver Package: exit(0x00000000)} 16:02:02.914
     sto:      {DRIVERSTORE_IMPORT_NOTIFY_END} 16:02:02.914
     ndv:           No system restore point was set earlier.
     sto:      {DRIVERSTORE_IMPORT_NOTIFY_END: exit(0x00000000)} 16:02:02.914
     sto: {Stage Driver Package: exit(0x00000000)} 16:02:02.930
     ndv: Doing device matching lookup!
     sto: Driver package was staged to Driver Store. Time = 437 ms
     sto: Imported driver package into Driver Store:
     sto:      Filename = C:\WINDOWS\System32\DriverStore\FileRepository\sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5\sxr1m.inf
     sto:      Time     = 733 ms<<<  Section end 2015/08/10 16:02:02.977<<<  [Exit status: SUCCESS]>>>  [SetupCopyOEMInf - C:\WINDOWS\System32\DriverStore\FileRepository\sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5\sxr1m.inf]>>>  Section start 2015/08/10 16:02:02.977
      cmd: "C:\Windows\ccmcache\10\dpinst64.exe"  /a /s
     inf: Driver Store location: C:\WINDOWS\System32\DriverStore\FileRepository\sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5\sxr1m.inf
     inf: Published Inf Path: C:\WINDOWS\INF\oem262.inf
     inf: Opened INF: 'C:\WINDOWS\System32\DriverStore\FileRepository\sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5\sxr1m.inf' ([strings])
     inf: Saved PNF: 'C:\WINDOWS\System32\DriverStore\FileRepository\sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5\sxr1m.PNF' (Language = 0409)
     inf: Installing catalog sxr1m.cat as: oem262.CAT<<<  Section end 2015/08/10 16:02:03.632<<<  [Exit status: SUCCESS]>>>  [Import Driver Package - c:\users\administrator\desktop\xeros_phaser_3320_pcl6\px64\sxr1m.inf]>>>  Section start 2015/08/11 07:35:39.155
      cmd: "C:\Users\Administrator\Desktop\Xeros_Phaser_3320_PCL6\PX64\dpinst64.exe"  /a /s
     sto: Importing driver package into Driver Store:
     sto:      Driver Store   = C:\WINDOWS\System32\DriverStore (Online | 6.1.7601)
     sto:      Driver Package = c:\users\administrator\desktop\xeros_phaser_3320_pcl6\px64\sxr1m.inf
     sto:      Architecture   = amd64
     sto:      Locale Name    = neutral
     sto:      Flags          = 0x00000008
!    sto: Unable to determine presence of driver package 'sxr1m.inf' in Driver Store. Error = 0x00000005
     sto: Copying driver package files to 'C:\Users\ADMINI~1\AppData\Local\Temp\{067580d5-0456-56ca-a439-7e7a5cf52511}'.
     inf: Opened INF: 'c:\users\administrator\desktop\xeros_phaser_3320_pcl6\px64\sxr1m.inf' ([strings])
     inf: Opened INF: 'c:\users\administrator\desktop\xeros_phaser_3320_pcl6\px64\sxr1m.inf' ([strings])
     flq: {FILE_QUEUE_COPY}
     flq:      CopyStyle      - 0x00000000
     flq:      SourceRootPath - 'c:\users\administrator\desktop\xeros_phaser_3320_pcl6\px64\amd64'

Didn't find anything but the folder exists with the driver in C:\Windows\System32\DriverStore\FileRepository\sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5

amd64
Common
sxr1m.cat
sxr1m.inf
sxr1m.PNF
sxr1mc.xml
sxr1mp.xml
sxr1mpp.ver

Then the log of dpinst -> C:\Windows\dpinst.log

INFO:   08/10/2015 16:02:02
INFO:   Product Version 2.1.0.0.
INFO:   Version: 6.0.6000
INFO:   Platform ID: 2 (NT)
INFO:   Service Pack: 0.0
INFO:   Suite: 0x0100, Product Type: 1
INFO:   Architecture: AMD64.
INFO:   Running under Local System Account
INFO:   Non-Interactive Windows Station
INFO:   Command Line: '"C:\Windows\ccmcache\10\dpinst64.exe"  /a /s'
INFO:   DPInst is not multi-lingual.
INFO:   ****************************************
INFO:   Current working directory: 'C:\Windows\ccmcache\10'
INFO:   Running on path 'C:\Windows\ccmcache\10'
INFO:   No valid 'dpinst.xml' file provided.
INFO:   Install option set: Running in quiet mode. Suppressing Wizard and OS popups.
INFO:   Install option set: Install all driver packages or none.
INFO:   Found driver package: 'C:\Windows\ccmcache\10\sxr1m.inf'.
INFO:   Preinstalling 'c:\windows\ccmcache\10\sxr1m.inf' ...
INFO:   ENTER:  DriverPackagePreinstallW
SUCCESS:c:\windows\ccmcache\10\sxr1m.inf is preinstalled.
INFO:   RETURN: DriverPackagePreinstallW  (0x0)
INFO:   ENTER:  DriverPackageGetPathW
INFO:   RETURN: DriverPackageGetPathW  (0x0)
INFO:   ENTER:  DriverPackageInstallW
INFO:   Installing INF file 'c:\windows\ccmcache\10\sxr1m.inf' (Plug and Play).
INFO:   Looking for Model Section [MODEL.NTamd64.6.0]...
INFO:   No matching devices found in INF "C:\WINDOWS\System32\DriverStore\FileRepository\sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5\sxr1m.inf" on the Machine.
INFO:   No drivers installed. No devices found that match driver(s) contained in 'C:\WINDOWS\System32\DriverStore\FileRepository\sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5\sxr1m.inf'.
INFO:   RETURN: DriverPackageInstallW  (0xE000020B)
INFO:   No matching device was found for 'c:\windows\ccmcache\10\sxr1m.inf'. Driver will be installed when plugged in.
INFO:   Created entry in Add or Remove Programs for 'C:\WINDOWS\System32\DriverStore\FileRepository\sxr1m.inf_amd64_neutral_1ad4796fbe0c21e5\sxr1m.inf'.
INFO:   Returning with code 0x100
INFO:   08/10/2015 16:02:03
Maybe it's the returning code 0x100 that SCCM can't read??? Or is it the version of dpinst (2.1.0) which is old?


Viewing all articles
Browse latest Browse all 4762

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>