Class co-installer is not getting called through INF

Hi

I wrote INF file for volume filter which has class co-installer registered.
When I install driver through INF file, co-installer is not getting called.
Following is the INF file

[Version]
Signature = “$Windows NT$”
Class = Volume
ClassGUID = {71a27cdd-812a-11d0-bec7-08002be2092f}
Provider = %xyz%
DriverVer = 11/06/2003,1.0.0.0

[DestinationDirs]
DefaultDestDir = 11
volfltDriverCopyFiles = 12
Co_installerCopyFiles = 11

[DefaultInstall.NT]
CopyFiles = volfltDriverCopyFiles
Addreg = volflt.AddReg

[SourceDisksNames]
1=%DiskName%,

[SourceDisksFiles]
volflt.sys = 1
volflt.dll = 1

[volfltDriverCopyFiles]
volflt.sys

[Co_installerCopyFiles]
volflt.dll

[volflt.AddReg]
HKLM,
System\CurrentControlSet\Control\Class{71a27cdd-812a-11d0-bec7-08002be2092f},
UpperFilters, 0x00010008, volflt
HKLM,System\CurrentControlSet\Control\CoDeviceInstallers,
{71a27cdd-812a-11d0-bec7-08002be2092f},0x00010008, “volflt.dll
,VolFltCoInstaller”

[DefaultInstall.NT.Services]
AddService = volflt, volflt.Service.Install, volflt.EvtLog.Install

[volflt.Service.Install]
DisplayName = %service_desc%
ServiceType = 1
StartType = 0
ErrorControl = 1
ServiceBinary = %12%\volflt.sys
LoadOrderGroup = “System Bus Extender”

[volflt.EvtLog.Install]
AddReg=volflt.EvtLog.AddReg

[volflt.EvtLog.AddReg]
HKR,TypesSupported,0x00010001,7
HKR,CategoryCount,0x00010001,5

[Strings]

xyz = “xxx Private Limited”
service_desc = “Volume Level Filter Driver”
DiskName = “xyz Installation Disk”

Regards
James

James Thompson wrote:

I wrote INF file for volume filter which has class co-installer
registered. When I install driver through INF file, co-installer is
not getting called.

Of course not, because you haven’t read the documentation.


[DestinationDirs]
DefaultDestDir = 11
volfltDriverCopyFiles = 12
Co_installerCopyFiles = 11

[Co_installerCopyFiles]
volflt.dll

That’s not how the section name is spelled. The name is important.
Hint: you have the _ in the wrong place.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Hi

In documentation I haven not found what you are saying. I have registered as
class co-installer not as device co-installer

Actually, I edited this

[DefaultInstall.NT]
CopyFiles = volfltDriverCopyFiles, Co_installerCopyFiles
Addreg = volflt.AddReg

wrongly as

[DefaultInstall.NT]
CopyFiles = volfltDriverCopyFiles
Addreg = volflt.AddReg in my earlier post

The DLL is getting copied successfully. But not getting called.

Any thoughts on this is highly appreciated.