Can't install driver on XPe SP1



I have an XPe image that worked fine with with the Edirol UM-1 MIDI interface: I was able to easily build a component with its drivers. We now have to support a new version of the same HW (RoHS compliance fun anyone?), but I can't get to build a new component that works with the new driver, required for the new HW.

In facts, I can't even manually install the driver from XPe, though I was able to install drivers for most devices I tried to support with a manual driver install. So I am suspecting that the problem is not so much the component creation, but the image itself, that may be missing some critical component for that new driver. Or maybe the install chokes on the new driver for some other reason?

Here is what I find in setupapi.log when I try to install the driver manually:

[SetupAPI Log]
OS Version = 5.1.2600 Service Pack 1
Platform ID = 2 (NT)
Service Pack = 1.0
Suite = 0x0040
Product Type = 1
Architecture = x86
[2006/03/21 17:07:36 1476.309]
#-198 Command line processed: "C:\Documents and Settings\Default User\Desktop\UM-1_WinXP2k_v2000\Setup.exe" #E367 An unsigned or incorrectly signed file "C:\Program Files\RdDrv001\RDID0009\Rdif1009.inf" for will be installed (Policy=Warn, user said ok). Error 0xe000022f: The third-party INF does not contain digital signature information.
[2006/03/21 17:08:59 640.3 Driver Install]
#-019 Searching for hardware ID(s): usb\vid_0582&pid_0009&rev_0100,usb\vid_0582&pid_0009
#-018 Searching for compatible ID(s): usb\class_ff&subclass_ff&prot_00,usb\class_ff&subclass_ff,usb\class_ff
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#I022 Found "USB\VID_0582&PID_0009" in C:\WINDOWS\inf\oem0.inf; Device: "EDIROL UM-1"; Driver: "EDIROL UM-1"; Provider: "Roland"; Mfg: "Roland"; Section name: "RDID0009Install".
#I023 Actual install section: [RDID0009Install]. Rank: 0x00000001. Effective driver date: 06/01/2005.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [RDID0009Install] in "c:\windows\inf\oem0.inf".
#I320 Class GUID of device remains: {4D36E96C-E325-11CE-BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#I124 Doing copy-only install of "USB\VID_0582&PID_0009\5&3774E5BA&0&2".
#-011 Installing section [RDID0009Install] from "c:\windows\inf\oem0.inf".
#-167 SPFILENOTIFY_NEEDMEDIA: Tag = "", Description= "EDIROL UM-1 Driver Installation disk", SourcePath = "c:\windows", SourceFile = "Rd3t1009.DAT", Flags = 0x00000000.
#E169 SPFILENOTIFY_NEEDMEDIA: returned FILEOP_ABORT. Error 1223: The operation was canceled by the user.
#W187 Install failed, attempting to restore original files.
#E122 Device install failed. Error 1223: The operation was canceled by the user.
#E157 Default installer failed. Error 1223: The operation was canceled by the user.

Of course, I did not "cancel" the install. In facts, all the process was silent.

To give more info to work on, here are the two inf files, the "old" one, that works fine with the old USB MIDI interface, and the new inf file, that doesn't work. I put the inf files in this email, in the hope that someone can guess what component maybe required by the new inf file, that wasn't required before...

thanks for any suggestion!
-georges



Old inf file:

; Installation inf for UM-1
;
; Copyright (c) 2003 Roland Corporation
;

[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%ROLAND%
DriverVer=05/09/2003,1.06.00.0000
;CatalogFile=RDCT0009.CAT

[SourceDisksNames]
1="EDIROL UM-1 USB Driver Installation Disk",,,

[SourceDisksFiles]
rd1t1009.dat = 1
rdwm1009.sys = 1
rddv1009.dll = 1
rdif1009.inf = 1
rddp1009.dat = 1
rdcp1009.cpl = 1

[Manufacturer]
%MfgName%=Roland

[Roland]
%RDID0009DeviceDesc%=RDID0009Dev, USB\VID_0582&PID_0009 ; UM-1

[DestinationDirs]
DefaultDestDir=10
RDID0009FilesUser = 11
RDID0009FilesExt = 10,System32\Drivers

[RDID0009Dev.NT]
CopyFiles=RDID0009FilesExt,RDID0009FilesUser
AddReg=RDID0009AddReg
reboot

[RDID0009Dev.NT.Services]
Addservice = RD1009, 0x00000002, RDID0009AddService
DelService = RDWM1009

[RDID0009AddService]
DisplayName = %RDID0009SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\rdwm1009.sys

[RDID0009AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,rdwm1009.sys

HKR,Drivers,SubClasses,,"midi"

HKR,Drivers,MIGRATED,0,0
HKR,Drivers\midi,,0,

HKR,Drivers\midi\rddv1009.dll, Driver,,rddv1009.dll
HKR,Drivers\midi\rddv1009.dll, Description,,%RDID0009SvcDesc%

[RDID0009FilesExt]
rdwm1009.sys

[RDID0009FilesUser]
rd1t1009.dat
rddv1009.dll
rddP1009.dat
rdcp1009.cpl

;---------------------------------------------------------------;

[Strings]
ROLAND="Roland"
MfgName="Roland"
RDID0009DeviceDesc="EDIROL UM-1 USB Driver"
RDID0009SvcDesc="EDIROL UM-1 USB Driver"



New inf file:
; Installation inf for the UM-1
;
; Copyright (c) 2005 Roland Corporation
;
[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%MfgName%
CatalogFile=RDID1009.CAT
DriverVer=06/01/2005,2.00.00.0000


;---------------------------------------------------------------;

[DestinationDirs]
RDID0009.Files.User = 11
RDID0009.Files.Inst = 11
RDID0009.Files.Ext = 10,system32\drivers ; %SystemRoot%\system32\drivers
DefaultDestDir = 10,system32\drivers ; %SystemRoot%\system32\drivers

[SourceDisksNames]
1=%RDID0009DiskName%,,

[SourceDiskSFiles]
RD3T1009.DAT=1
RdWM1009.sys=1
RDDP1009.DAT=1
RDCP1009.CPL=1
RDCI1009.dll=1

;---------------------------------------------------------------;

[Manufacturer]
%MfgName%=Roland

;[ControlFlags]
;ExcludeFromSelect=*

[Roland]
%RDID0009DeviceDesc%=RDID0009Install, USB\VID_0582&PID_0009 ; UM-1

;===============================================================;

[RDID0009Install]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
;;AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
CopyFiles=RDID0009.Files.User,RDID0009.Files.Ext
AddReg=RDID0009AddReg

[RDID0009Install.CoInstallers]
AddReg=RDID0009CoInstallers.AddReg
CopyFiles=RDID0009.Files.Inst

[RDID0009CoInstallers.AddReg]
HKR,,CoInstallers32,%REG_MSZ%,"RdCi1009.dll,ProcCoInst"

[RDID0009AddReg]
HKR,,DevLoader,,"*ntkern"
HKR,,AssociatedFilters,,"wdmaud"
HKR,,Driver,,rdwm1009.sys
HKR,,NTMPDriver,,"rdwm1009.sys"

HKR,Drivers,SubClasses,,"midi"

HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv, Description,,%RDID0009DeviceDesc%

[RDID0009Install.Services]
AddService = RDID1009, 0x00000002, RDID0009_Service_Inst
DelService = RD1009

[RDID0009_Service_Inst]
DisplayName = %RDID0009DeviceDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\system32\Drivers\rdwm1009.sys

;;;
;;
[RDID0009.Files.Ext]
Rdwm1009.sys

[RDID0009.Files.User]
Rd3t1009.DAT
RDCP1009.CPL
RDDP1009.DAT

[RDID0009.Files.Inst]
RdCi1009.dll

[RDID0009Install.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo11%, WDM.Interface.Mo11
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo11%, WDM.Interface.Mo11
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo11%, WDM.Interface.Mo11

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo21%, WDM.Interface.Mo21
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo21%, WDM.Interface.Mo21
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo21%, WDM.Interface.Mo21

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo31%, WDM.Interface.Mo31
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo31%, WDM.Interface.Mo31
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo31%, WDM.Interface.Mo31

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo41%, WDM.Interface.Mo41
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo41%, WDM.Interface.Mo41
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo41%, WDM.Interface.Mo41


AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi11%, WDM.Interface.Mi11
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi11%, WDM.Interface.Mi11
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi11%, WDM.Interface.Mi11

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi21%, WDM.Interface.Mi21
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi21%, WDM.Interface.Mi21
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi21%, WDM.Interface.Mi21

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi31%, WDM.Interface.Mi31
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi31%, WDM.Interface.Mi31
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi31%, WDM.Interface.Mi31

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi41%, WDM.Interface.Mi41
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi41%, WDM.Interface.Mi41
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi41%, WDM.Interface.Mi41

[WDM.Interface.Mo11]
AddReg=WDM.Interface.Mo11.AddReg
[WDM.Interface.Mo11.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo11.szPname%

[WDM.Interface.Mo21]
AddReg=WDM.Interface.Mo21.AddReg
[WDM.Interface.Mo21.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo21.szPname%

[WDM.Interface.Mo31]
AddReg=WDM.Interface.Mo31.AddReg
[WDM.Interface.Mo31.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo31.szPname%

[WDM.Interface.Mo41]
AddReg=WDM.Interface.Mo41.AddReg
[WDM.Interface.Mo41.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo41.szPname%


[WDM.Interface.Mi11]
AddReg=WDM.Interface.Mi11.AddReg
[WDM.Interface.Mi11.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi11.szPname%

[WDM.Interface.Mi21]
AddReg=WDM.Interface.Mi21.AddReg
[WDM.Interface.Mi21.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi21.szPname%

[WDM.Interface.Mi31]
AddReg=WDM.Interface.Mi31.AddReg
[WDM.Interface.Mi31.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi31.szPname%

[WDM.Interface.Mi41]
AddReg=WDM.Interface.Mi41.AddReg
[WDM.Interface.Mi41.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi41.szPname%

;---------------------------------------------------------------;

[Strings]
MfgName="Roland"

RDID0009DiskName="EDIROL UM-1 Driver Installation disk"
RDID0009DeviceDesc="EDIROL UM-1"

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"

KSNAME_Mo11="MidiOut1-1"
WDM.Mo11.szPname="1:EDIROL UM-1 MIDI"

KSNAME_Mo21="MidiOut2-1"
WDM.Mo21.szPname="2:EDIROL UM-1 MIDI"

KSNAME_Mo31="MidiOut3-1"
WDM.Mo31.szPname="3:EDIROL UM-1 MIDI"

KSNAME_Mo41="MidiOut4-1"
WDM.Mo41.szPname="4:EDIROL UM-1 MIDI"

KSNAME_Mi11="MidiIn1-1"
WDM.Mi11.szPname="1:EDIROL UM-1 MIDI"

KSNAME_Mi21="MidiIn2-1"
WDM.Mi21.szPname="2:EDIROL UM-1 MIDI"

KSNAME_Mi31="MidiIn3-1"
WDM.Mi31.szPname="3:EDIROL UM-1 MIDI"

KSNAME_Mi41="MidiIn4-1"
WDM.Mi41.szPname="4:EDIROL UM-1 MIDI"

REG_MSZ = 0x00010000
.



Relevant Pages

  • Re: NDIS WDM driver installation for multi-port NIC
    ... Bus driver inf (separate install # 1): ... [SourceDisksNames] ... Foo = "Foo" ...
    (microsoft.public.development.device.drivers)
  • Re: i cant update windows!
    ... > download, but at the very end of the process it says that the ... I havent been able to get any updates ... First - cleanup your machine and ready it for Service Pack 2. ... Then install Service Pack 2 from the downloaded install file (not the ...
    (microsoft.public.windowsxp.general)
  • Re: Problem with KB917021_v3
    ... The driver security catalog, not sign by MS, is dated March/2000. ... Additionally, after you install the update, Windows XP will display ... Windows XP with Service Pack 2 is available. ... Windows XP wireless client software with support for the new Wi-Fi Alliance ...
    (microsoft.public.windowsupdate)
  • Re: XP SP2 has lost my OE files
    ... Cannot Open E-Mail Attachments in Outlook Express After You Install SP1 ... Turn off email scanning in your antivirus software. ... themselves (if you have the latest security updates from Windows Update) ... Windows XP Service Pack 2 Resources for IT Professionals ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: restoring dbx files
    ... Cannot Open E-Mail Attachments in Outlook Express After You Install SP1 ... Turn off email scanning in your antivirus software. ... Windows 2000 and Windows XP. ... Windows XP Service Pack 2 Resources for IT Professionals ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)