Updating a class installer

Hi all,

I am sorry if this a FAQ. I have a problem in updating the class
installer dll associated with my driver. I have tried to change the name
of the dll, increase the version number, but failed.

Is there something stupid I missed?

Thanks for help,

Gilles Muller

I ran into this problem with w2k a long time ago. Basically my new installer
dll fixed a bug in my old installer dll, however the old installer dll ran
to install the new installer dll, thus not fixing the bug at all. I thought
this was fixed but I could be wrong.

=====================
Mark Roddy

-----Original Message-----
From: Gilles Muller [mailto:xxxxx@emn.fr]
Sent: Monday, August 09, 2004 6:59 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Updating a class installer

Hi all,

I am sorry if this a FAQ. I have a problem in updating the class installer
dll associated with my driver. I have tried to change the name of the dll,
increase the version number, but failed.

Is there something stupid I missed?

Thanks for help,

Gilles Muller


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

Is this class installer listed in
HKLM|System\CurrentControlSet\Control\CoDeviceInstallers? And if it is it
included so that WFP “Windows File Protection” is causes the digitally
signed coinstaller to be used. If so turn off WFP (you have to windbg
connected), do a driver update that installs the new class installer, or
rename or delete all references of the class installer stored on the hard
drive (not this is not recommended).

Thanks
William Michael Jones

“Gilles Muller” wrote in message news:xxxxx@ntdev…
> Hi all,
>
> I am sorry if this a FAQ. I have a problem in updating the class
> installer dll associated with my driver. I have tried to change the name
> of the dll, increase the version number, but failed.
>
> Is there something stupid I missed?
>
> Thanks for help,
>
> Gilles Muller
>

Michael Jones wrote:

Is this class installer listed in
HKLM|System\CurrentControlSet\Control\CoDeviceInstallers? And if it is it
included so that WFP “Windows File Protection” is causes the digitally
signed coinstaller to be used. If so turn off WFP (you have to windbg
connected), do a driver update that installs the new class installer, or
rename or delete all references of the class installer stored on the hard
drive (not this is not recommended).

Thanks
William Michael Jones

Thanks for the help, but it is not listed there.

As anticipated, it is listed in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{class-guid}

Is there any trick to force the copy of the dll when deploying a new
version of the driver (other than deleting the entry from the registry)?

Gilles

Try giving the new class installer a new name and run Driver Update with new
inf that has the changed name.

Thanks
William Michael Jones

“Gilles Muller” wrote in message news:xxxxx@ntdev…
> Michael Jones wrote:
>
> > Is this class installer listed in
> > HKLM|System\CurrentControlSet\Control\CoDeviceInstallers? And if it is
it
> > included so that WFP “Windows File Protection” is causes the digitally
> > signed coinstaller to be used. If so turn off WFP (you have to windbg
> > connected), do a driver update that installs the new class installer, or
> > rename or delete all references of the class installer stored on the
hard
> > drive (not this is not recommended).
> >
> > Thanks
> > William Michael Jones
>
> Thanks for the help, but it is not listed there.
>
> As anticipated, it is listed in
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{class-guid}
>
> Is there any trick to force the copy of the dll when deploying a new
> version of the driver (other than deleting the entry from the registry)?
>
> Gilles
>

Michael Jones wrote:

Try giving the new class installer a new name and run Driver Update with new
inf that has the changed name.

Thanks
William Michael Jones

I tried that without success.

The only thing that seems to work is to delete the registry entry.

Something that maybe related. The dll does not appear in the list of
files associated with the driver in the property page.

Gilles

“Gilles Muller” wrote in message news:xxxxx@ntdev…
>
>>Michael Jones wrote:
>>
>>
>>>Is this class installer listed in
>>>HKLM|System\CurrentControlSet\Control\CoDeviceInstallers? And if it is
>
> it
>
>>>included so that WFP “Windows File Protection” is causes the digitally
>>>signed coinstaller to be used. If so turn off WFP (you have to windbg
>>>connected), do a driver update that installs the new class installer, or
>>>rename or delete all references of the class installer stored on the
>
> hard
>
>>>drive (not this is not recommended).
>>>
>>>Thanks
>>>William Michael Jones
>>
>>Thanks for the help, but it is not listed there.
>>
>>As anticipated, it is listed in
>>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{class-guid}
>>
>>Is there any trick to force the copy of the dll when deploying a new
>>version of the driver (other than deleting the entry from the registry)?
>>
>>Gilles
>>
>
>
>
>

I once had a coinstaller registered in CoDeviceInstallers. Surely no
digital signatures, nevertheless, it worked fine on XP SP1 with “Block Unsigned
Drivers” options.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Michael Jones”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Monday, August 09, 2004 5:05 PM
Subject: Re:[ntdev] Updating a class installer

> Is this class installer listed in
> HKLM|System\CurrentControlSet\Control\CoDeviceInstallers? And if it is it
> included so that WFP “Windows File Protection” is causes the digitally
> signed coinstaller to be used. If so turn off WFP (you have to windbg
> connected), do a driver update that installs the new class installer, or
> rename or delete all references of the class installer stored on the hard
> drive (not this is not recommended).
>
> Thanks
> William Michael Jones
>
> “Gilles Muller” wrote in message news:xxxxx@ntdev…
> > Hi all,
> >
> > I am sorry if this a FAQ. I have a problem in updating the class
> > installer dll associated with my driver. I have tried to change the name
> > of the dll, increase the version number, but failed.
> >
> > Is there something stupid I missed?
> >
> > Thanks for help,
> >
> > Gilles Muller
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com