Registering device co-installer failed

Hi All,
I am trying to register a device co-installer from my .inf file.
New entries i have added to the .inf file are as follows:

[RNDIS.NT.CoInstallers]
CopyFiles = coinstCopyFilesSection
AddReg = CoInstallers_AddReg

[coinstCopyFilesSection]
coinst.dll

[CoInstallers_AddReg]
HKR,CoInstallers32,0x00010000,“coinst.dll, \
MyCoInstaller”

[DestinationDirs]
.
.
.
coinstCopyFilesSection = 11 ; DIRID_SYSTEM

But driver installation is failing. The error i am seeing in setupapi.log file is as as shown below:
“Registering Co-Installers caused error: Error 1010: The configuration registry key is invalid.
Completed default installer, error: Error 1010: The configuration registry key is invalid.”

Can someone tell me what’s wrong i am doing in my .inf file?

Thanks in Advance
Rakesh.

Hi,

Try this

HKR,CoInstallers32,0x00010000,“coinst.dll, MyCoInstaller”

and let me know the .def file of the coinst.dll

 

luck,

yogi

From: “Rakesh Sharma”

>Reply-To: “Windows System Software Devs Interest List”
>To: “Windows System Software Devs Interest List”
>Subject: [ntdev] Registering device co-installer failed
>Date: Wed, 21 Jul 2004 20:32:00 +0530
>
>Hi All,
> I am trying to register a device co-installer from my .inf file.
> New entries i have added to the .inf file are as follows:
>
>[RNDIS.NT.CoInstallers]
>CopyFiles = coinstCopyFilesSection
>AddReg = CoInstallers_AddReg
>
>[coinstCopyFilesSection]
>coinst.dll
>
>[CoInstallers_AddReg]
>HKR,CoInstallers32,0x00010000,“coinst.dll, \
> MyCoInstaller”
>
>[DestinationDirs]
> .
> .
> .
>coinstCopyFilesSection = 11 ; DIRID_SYSTEM
>
> But driver installation is failing. The error i am seeing in setupapi.log file is as as shown below:
> “Registering Co-Installers caused error: Error 1010: The configuration registry key is invalid.
> Completed default installer, error: Error 1010: The configuration registry key is invalid.”
>
>Can someone tell me what’s wrong i am doing in my .inf file?
>
>Thanks in Advance
>Rakesh.
>
>—
>Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com


Cricket maniacs ahoy! CDs, books, and more goodies! Available at the cricket shop!