Hi all,
Does anyone know the cause of the error under Win11:
"No INF AddService directives contained the flag SPSVCINST_ASSOCSERVICE"?
setupapi.dev.log has...
dvi: {Writing Device Properties - Complete}
dvi: Included usbser.inf under [DDInstall.Services].
dvi: Needs [UsbSerial_Install.Services] under [DDInstall.Services].
!!! dvi: Error: No INF AddService directives contained the flag SPSVCINST_ASSOCSERVICE
!!! dvi: Error while installing services.
!!! dvi: Error 0xe0000219: The installation failed because a function driver was not specified for this device instance.
!!! dvi: Cleaning up failed installation
!!! dvi: Error 0xe0000219: The installation failed because a function driver was not specified for this device instance.
dvi: {Install DEVICE exit (0xe0000219)}
!!! dvi: Cleaning up failed installation (e0000219)
!!! dvi: Class installer: failed(0xe0000219)!
!!! dvi: Error 0xe0000219: The installation failed because a function driver was not specified for this device instance.
dvi: {DIF_INSTALLDEVICE - exit(0xe0000219)} 20:43:37.826
!!! dvi: Error(e0000219) installing device!
dvi: Device install status: 0xe0000219
dvi: Performing device install final cleanup...
dvi: {Install Device - exit(0xe0000219)} 20:43:37.826
dvi: {Core Device Install - exit(0xe0000219)} 20:43:37.826
ump: Server install process exited with code 0xe0000219 20:43:37.838
The INF is very simple:
[Version]
Signature = "$WINDOWS NT$"
Class = Ports
ClassGUID = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider = %ManufacturerName%
PnpLockdown = 1
DriverVer = 04/16/2025,2.5.5.7
CatalogFile = a_usb_serial.cat
[SourceDisksNames]
1=%DriversDisk%,,,
[SourceDisksFiles]
[DestinationDirs]
DefaultDestDir = 12
[ControlFlags]
ExcludeFromSelect = *
[Manufacturer]
%ManufacturerName%=Models,NTx86,NTamd64,NTarm,NTarm64
[Models.NTx86]
(more entries)
%CF223B000C%=DDInstall, USB\VID_223B&PID_000C&MI_00
%CF223B000CDBG%=DDInstall, USB\VID_223B&PID_000C&MI_02
(more identical [Model] OS sections)
[DDInstall]
Include = usbser.inf
Needs = UsbSerial_Install
CopyINF = a_usb_serial.inf
[DDInstall.Hw]
Include = usbser.inf
Needs = UsbSerial_Install.Hw
[DDInstall.Services]
Include = usbser.inf
Needs = UsbSerial_Install.Services
[Strings]
...