Prev: USB camera driver
Next: WDFQUEUE and WdfRequestCreate
From: isenhand on 6 Apr 2010 02:13 I get the error meesage "cannot copy to spcified target" when I try to install a driver. In my .inf file I have : [DestinationDirs] CoInstallers_CopyFiles=11 ; copy to system32 UMDriverCopy=12,UMDF ; copy to drivers/umdf I've also tried using the path directly. I'm trying this on a WIndows 7 (x64) machine and wonder if I should have something different but can't fins anything that says Window 7 differs form ralier versions. Any suggestions? Thanks.
From: Scott Noone on 6 Apr 2010 10:20 Have you run chkinf on your INF? You might want to also check C:\WINDOWS\INF\setupapi.app.log and C:\WINDOWS\INF\setupapi.dev.log for any clearer details about what's going on. -scott -- Scott Noone Consulting Associate OSR Open Systems Resources, Inc. http://www.osronline.com "isenhand" <isenhand(a)discussions.microsoft.com> wrote in message news:E7B85FC8-863F-4F11-8C06-73AEE5E2ACDB(a)microsoft.com... > I get the error meesage "cannot copy to spcified target" when I try to > install a driver. > > In my .inf file I have : > > [DestinationDirs] > CoInstallers_CopyFiles=11 ; copy to system32 > UMDriverCopy=12,UMDF ; copy to drivers/umdf > > I've also tried using the path directly. I'm trying this on a WIndows 7 > (x64) machine and wonder if I should have something different but can't > fins > anything that says Window 7 differs form ralier versions. > > Any suggestions? > > Thanks.
From: isenhand on 7 Apr 2010 04:01 Thanks for the replay. << Have you run chkinf on your INF?>> No, it wont run. <<You might want to also check >> Thanks. This is what I get: >>> [Build Driver List - ROOT\MEDIA\0000] >>> Section start 2010/04/07 09:49:10.527 cmd: "C:\Windows\system32\hdwwiz.exe" cpy: Policy is set to make all digital signatures equal. ! inf: Unable to load INF: 'C:\Windows\System32\DriverStore\FileRepository\axissnd.inf_amd64_neutral_1a4320239d538bce\axissnd.inf'(00000003) ! inf: Error 3: The system cannot find the path specified. ! inf: Unable to load INF: 'C:\Windows\System32\DriverStore\FileRepository\axissnd.inf_amd64_neutral_aaf03a561bf9090e\axissnd.inf'(00000003) ! inf: Error 3: The system cannot find the path specified. ! inf: Unable to load INF: 'C:\Windows\System32\DriverStore\FileRepository\xcbdav.inf_amd64_neutral_cf80e4da1c95e6e2\xcbdav.inf'(000004c7) ! inf: Error 1223: The operation was canceled by the user. ! inf: Error (0x000004c7) searching INFs in directory: 'C:\Windows\inf' ! inf: Error 1223: The operation was canceled by the user. ! inf: InfSearch error ! inf: Error 1223: The operation was canceled by the user. <<< Section end 2010/04/07 09:49:12.009 <<< [Exit status: FAILURE(0x000004c7)] and [Device Install (DiInstallDevice) - ROOT\MEDIA\0000] >>> Section start 2010/04/07 09:49:26.421 cmd: "C:\Windows\system32\hdwwiz.exe" dvi: {Plug and Play Service: Device Install for ROOT\MEDIA\0000} ump: Creating Install Process: DrvInst.exe 09:49:26.454 ! ndv: Installing NULL driver! dvi: Set selected driver complete. dvi: {DIF_ALLOW_INSTALL} 09:49:26.469 dvi: Using exported function 'MediaClassInstaller' in module 'C:\Windows\system32\mmci.dll'. dvi: Class installer == mmci.dll,MediaClassInstaller dvi: Using exported function 'MediaClassCoInstaller' in module 'C:\Windows\system32\mmcico.dll'. dvi: CoInstaller 1 == mmcico.dll,MediaClassCoInstaller dvi: CoInstaller 1: Enter 09:49:26.479 dvi: CoInstaller 1: Exit dvi: Class installer: Enter 09:49:26.483 dvi: Class installer: Exit dvi: Default installer: Enter 09:49:26.486 dvi: Default installer: Exit dvi: {DIF_ALLOW_INSTALL - exit(0xe000020e)} 09:49:26.489 dvi: {DIF_INSTALLDEVICE} 09:49:26.491 dvi: CoInstaller 1: Enter 09:49:26.494 dvi: CoInstaller 1: Exit dvi: Class installer: Enter 09:49:26.497 dvi: Class installer: Exit dvi: Default installer: Enter 09:49:26.501 ! dvi: Installing NULL driver! ! dvi: A NULL driver installation is not allowed for this type of device! !!! dvi: Cleaning up failed installation (e0000219) !!! dvi: Default installer: failed! !!! dvi: Error 0xe0000219: The installation failed because a function driver was not specified for this device instance. dvi: CoInstaller 1: Enter (Post Processing) 09:49:26.512 dvi: CoInstaller 1: Exit (Post Processing) dvi: {DIF_INSTALLDEVICE - exit(0xe0000219)} 09:49:26.515 dvi: {DIF_DESTROYPRIVATEDATA} 09:49:26.517 dvi: CoInstaller 1: Enter 09:49:26.519 dvi: CoInstaller 1: Exit dvi: Class installer: Enter 09:49:26.522 dvi: Class installer: Exit dvi: Default installer: Enter 09:49:26.526 dvi: Default installer: Exit dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 09:49:26.530 ump: Server install process exited with code 0xe0000219 09:49:26.535 ump: {Plug and Play Service: Device Install exit(e0000219)} <<< Section end 2010/04/07 09:49:26.539 <<< [Exit status: FAILURE(0xe0000219)] Not sure what it means "NULL driver". "Scott Noone" wrote: > Have you run chkinf on your INF? > > You might want to also check C:\WINDOWS\INF\setupapi.app.log and > C:\WINDOWS\INF\setupapi.dev.log for any clearer details about what's going > on. > > -scott > > -- > Scott Noone > Consulting Associate > OSR Open Systems Resources, Inc. > http://www.osronline.com > > > "isenhand" <isenhand(a)discussions.microsoft.com> wrote in message > news:E7B85FC8-863F-4F11-8C06-73AEE5E2ACDB(a)microsoft.com... > > I get the error meesage "cannot copy to spcified target" when I try to > > install a driver. > > > > In my .inf file I have : > > > > [DestinationDirs] > > CoInstallers_CopyFiles=11 ; copy to system32 > > UMDriverCopy=12,UMDF ; copy to drivers/umdf > > > > I've also tried using the path directly. I'm trying this on a WIndows 7 > > (x64) machine and wonder if I should have something different but can't > > fins > > anything that says Window 7 differs form ralier versions. > > > > Any suggestions? > > > > Thanks. >
From: Scott Noone on 7 Apr 2010 07:33 > No, it wont run. You probably want to fix that...Have you installed Perl (http://www.activestate.com/activeperl/)? Once that's installed it should just be a matter of running "chkinf myinf.inf" -scott -- Scott Noone Consulting Associate OSR Open Systems Resources, Inc. http://www.osronline.com "isenhand" <isenhand(a)discussions.microsoft.com> wrote in message news:2104FB1B-A87D-4ACF-81D6-FF9266D7418B(a)microsoft.com... > Thanks for the replay. > > << Have you run chkinf on your INF?>> > > No, it wont run. > > > <<You might want to also check >> > > Thanks. > > This is what I get: > >>>> [Build Driver List - ROOT\MEDIA\0000] >>>> Section start 2010/04/07 09:49:10.527 > cmd: "C:\Windows\system32\hdwwiz.exe" > cpy: Policy is set to make all digital signatures equal. > ! inf: Unable to load INF: > 'C:\Windows\System32\DriverStore\FileRepository\axissnd.inf_amd64_neutral_1a4320239d538bce\axissnd.inf'(00000003) > ! inf: Error 3: The system cannot find the path specified. > ! inf: Unable to load INF: > 'C:\Windows\System32\DriverStore\FileRepository\axissnd.inf_amd64_neutral_aaf03a561bf9090e\axissnd.inf'(00000003) > ! inf: Error 3: The system cannot find the path specified. > ! inf: Unable to load INF: > 'C:\Windows\System32\DriverStore\FileRepository\xcbdav.inf_amd64_neutral_cf80e4da1c95e6e2\xcbdav.inf'(000004c7) > ! inf: Error 1223: The operation was canceled by the user. > ! inf: Error (0x000004c7) searching INFs in directory: 'C:\Windows\inf' > ! inf: Error 1223: The operation was canceled by the user. > ! inf: InfSearch error > ! inf: Error 1223: The operation was canceled by the user. > <<< Section end 2010/04/07 09:49:12.009 > <<< [Exit status: FAILURE(0x000004c7)] > > and > > > > [Device Install (DiInstallDevice) - ROOT\MEDIA\0000] >>>> Section start 2010/04/07 09:49:26.421 > cmd: "C:\Windows\system32\hdwwiz.exe" > dvi: {Plug and Play Service: Device Install for ROOT\MEDIA\0000} > ump: Creating Install Process: DrvInst.exe 09:49:26.454 > ! ndv: Installing NULL driver! > dvi: Set selected driver complete. > dvi: {DIF_ALLOW_INSTALL} 09:49:26.469 > dvi: Using exported function 'MediaClassInstaller' in module > 'C:\Windows\system32\mmci.dll'. > dvi: Class installer == mmci.dll,MediaClassInstaller > dvi: Using exported function 'MediaClassCoInstaller' in > module 'C:\Windows\system32\mmcico.dll'. > dvi: CoInstaller 1 == mmcico.dll,MediaClassCoInstaller > dvi: CoInstaller 1: Enter 09:49:26.479 > dvi: CoInstaller 1: Exit > dvi: Class installer: Enter 09:49:26.483 > dvi: Class installer: Exit > dvi: Default installer: Enter 09:49:26.486 > dvi: Default installer: Exit > dvi: {DIF_ALLOW_INSTALL - exit(0xe000020e)} 09:49:26.489 > dvi: {DIF_INSTALLDEVICE} 09:49:26.491 > dvi: CoInstaller 1: Enter 09:49:26.494 > dvi: CoInstaller 1: Exit > dvi: Class installer: Enter 09:49:26.497 > dvi: Class installer: Exit > dvi: Default installer: Enter 09:49:26.501 > ! dvi: Installing NULL driver! > ! dvi: A NULL driver installation is not allowed for > this > type of device! > !!! dvi: Cleaning up failed installation (e0000219) > !!! dvi: Default installer: failed! > !!! dvi: Error 0xe0000219: The installation failed because a > function driver was not specified for this device instance. > dvi: CoInstaller 1: Enter (Post Processing) 09:49:26.512 > dvi: CoInstaller 1: Exit (Post Processing) > dvi: {DIF_INSTALLDEVICE - exit(0xe0000219)} 09:49:26.515 > dvi: {DIF_DESTROYPRIVATEDATA} 09:49:26.517 > dvi: CoInstaller 1: Enter 09:49:26.519 > dvi: CoInstaller 1: Exit > dvi: Class installer: Enter 09:49:26.522 > dvi: Class installer: Exit > dvi: Default installer: Enter 09:49:26.526 > dvi: Default installer: Exit > dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 09:49:26.530 > ump: Server install process exited with code 0xe0000219 > 09:49:26.535 > ump: {Plug and Play Service: Device Install exit(e0000219)} > <<< Section end 2010/04/07 09:49:26.539 > <<< [Exit status: FAILURE(0xe0000219)] > > Not sure what it means "NULL driver". > > "Scott Noone" wrote: > >> Have you run chkinf on your INF? >> >> You might want to also check C:\WINDOWS\INF\setupapi.app.log and >> C:\WINDOWS\INF\setupapi.dev.log for any clearer details about what's >> going >> on. >> >> -scott >> >> -- >> Scott Noone >> Consulting Associate >> OSR Open Systems Resources, Inc. >> http://www.osronline.com >> >> >> "isenhand" <isenhand(a)discussions.microsoft.com> wrote in message >> news:E7B85FC8-863F-4F11-8C06-73AEE5E2ACDB(a)microsoft.com... >> > I get the error meesage "cannot copy to spcified target" when I try to >> > install a driver. >> > >> > In my .inf file I have : >> > >> > [DestinationDirs] >> > CoInstallers_CopyFiles=11 ; copy to system32 >> > UMDriverCopy=12,UMDF ; copy to drivers/umdf >> > >> > I've also tried using the path directly. I'm trying this on a WIndows 7 >> > (x64) machine and wonder if I should have something different but can't >> > fins >> > anything that says Window 7 differs form ralier versions. >> > >> > Any suggestions? >> > >> > Thanks. >>
From: Tim Roberts on 8 Apr 2010 01:24
isenhand <isenhand(a)discussions.microsoft.com> wrote: > >Not sure what it means "NULL driver". If your INF has a mistake so that the install section is empty, or if the AddService line doesn't specify a service name, Windows will install a "NULL driver", meaning that the device will not have a driver but will not cause an "unknown device" error. Perhaps you should post your whole INF. -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc. |