WdfPreDeviceInstall - ERROR_ALREADY_EXISTS

Ok after asking my last question, I have tried to install using the OSR
sample. All I get is a lovely WdfPreDeviceInstall returning
ERROR_ALREADY_EXISTS! Can somebody from the KMDF team give me a clue as to
what might already exist? I have looked for the obvious things with no
luck!

The irony here is I did this to give my customer the “best and fastest
development approach”, I have wasted 3 times what it has taken me to develop
and test my last disk filter, to develop and try to install this one!


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

Do you still have a beta version of WDF loaded on the system? That was the
cause of a similar problem that I had, which is why I ask.

If not, you might try looking in the setupact.log or the WDF installer log
(\system32\wdfinst01000.log or something). There might be something of
interest there.

-scott


Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Don Burn” wrote in message news:xxxxx@ntdev…
> Ok after asking my last question, I have tried to install using the OSR
> sample. All I get is a lovely WdfPreDeviceInstall returning
> ERROR_ALREADY_EXISTS! Can somebody from the KMDF team give me a clue as
> to what might already exist? I have looked for the obvious things with no
> luck!
>
> The irony here is I did this to give my customer the “best and fastest
> development approach”, I have wasted 3 times what it has taken me to
> develop and test my last disk filter, to develop and try to install this
> one!
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
>
>

No, this was a fresh install of Win2k3 SP1 in the last couple of day. The
log contains a complaint:

WdfCoInstaller: [04/07/2006 14:51.03.937] ReadComponents setting the
WdfSetcion for Driver Service fcdisk using KMDF lib version Major 0x1, minor
0x0

WdfCoInstaller: [04/07/2006 14:51.04.078] Extract resources: could not find
resources WDFCAB_RESOURCE, error error(1813) The specified resource type
cannot be found in the image file.

But somehow I find that less than useful.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“Scott Noone” wrote in message news:xxxxx@ntdev…
> Do you still have a beta version of WDF loaded on the system? That was the
> cause of a similar problem that I had, which is why I ask.
>
> If not, you might try looking in the setupact.log or the WDF installer log
> (\system32\wdfinst01000.log or something). There might be something of
> interest there.
>
> -scott
>
> –
> Scott Noone
> Software Engineer
> OSR Open Systems Resources, Inc.
> http://www.osronline.com
>
> “Don Burn” wrote in message news:xxxxx@ntdev…
>> Ok after asking my last question, I have tried to install using the OSR
>> sample. All I get is a lovely WdfPreDeviceInstall returning
>> ERROR_ALREADY_EXISTS! Can somebody from the KMDF team give me a clue as
>> to what might already exist? I have looked for the obvious things with
>> no luck!
>>
>> The irony here is I did this to give my customer the “best and fastest
>> development approach”, I have wasted 3 times what it has taken me to
>> develop and test my last disk filter, to develop and try to install this
>> one!
>>
>>
>> –
>> Don Burn (MVP, Windows DDK)
>> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> Remove StopSpam from the email to reply
>>
>>
>>
>>
>
>
>

Well Don, exactly WHAT are you trying to do? Did you read the archives?
Ooops … sorry … just could not resist. :slight_smile:

I’m agreeing with Scott in that you have an old installation of the
coinstaller, or DIDN’T install the co-installer when you installed your
filter, in however manner you installed your filter. Look for an instance
of WdfCoInstaller01000.dll in System32 (???). If it is WdfCoInstaller or
not there, then I think we have the culprit. If it’s the beta, then you
will need to manually delete them from t he disc and the registry. At
least that was the path I took. Dr. D. might know a better way.

Gary G. Little

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
Sent: Friday, April 07, 2006 2:28 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] WdfPreDeviceInstall - ERROR_ALREADY_EXISTS

No, this was a fresh install of Win2k3 SP1 in the last couple of day. The

log contains a complaint:

WdfCoInstaller: [04/07/2006 14:51.03.937] ReadComponents setting the
WdfSetcion for Driver Service fcdisk using KMDF lib version Major 0x1,
minor
0x0

WdfCoInstaller: [04/07/2006 14:51.04.078] Extract resources: could not
find
resources WDFCAB_RESOURCE, error error(1813) The specified resource type
cannot be found in the image file.

But somehow I find that less than useful.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“Scott Noone” wrote in message news:xxxxx@ntdev…
> Do you still have a beta version of WDF loaded on the system? That was
the
> cause of a similar problem that I had, which is why I ask.
>
> If not, you might try looking in the setupact.log or the WDF installer
log
> (\system32\wdfinst01000.log or something). There might be something of
> interest there.
>
> -scott
>
> –
> Scott Noone
> Software Engineer
> OSR Open Systems Resources, Inc.
> http://www.osronline.com
>
> “Don Burn” wrote in message news:xxxxx@ntdev…
>> Ok after asking my last question, I have tried to install using the OSR

>> sample. All I get is a lovely WdfPreDeviceInstall returning
>> ERROR_ALREADY_EXISTS! Can somebody from the KMDF team give me a clue
as
>> to what might already exist? I have looked for the obvious things with

>> no luck!
>>
>> The irony here is I did this to give my customer the “best and fastest
>> development approach”, I have wasted 3 times what it has taken me to
>> develop and test my last disk filter, to develop and try to install
this
>> one!
>>
>>
>> –
>> Don Burn (MVP, Windows DDK)
>> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> Remove StopSpam from the email to reply
>>
>>
>>
>>
>
>
>


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

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

The only files that match Wdf* on the whole disk are:

WdfCoInstaller01000.dll
WDFFILTRINSTALL.exe both in my install directory

wdfapi.dll
wdfmgr.exe both in System32

I have never put the beta on the disk that I am using! And I no longer have
the beta on any system in my lab or on my development machine, so I really
doubt it is beta code nailing me!


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

wrote in message news:xxxxx@ntdev…
> Well Don, exactly WHAT are you trying to do? Did you read the archives?
> Ooops … sorry … just could not resist. :slight_smile:
>
> I’m agreeing with Scott in that you have an old installation of the
> coinstaller, or DIDN’T install the co-installer when you installed your
> filter, in however manner you installed your filter. Look for an instance
> of WdfCoInstaller01000.dll in System32 (???). If it is WdfCoInstaller or
> not there, then I think we have the culprit. If it’s the beta, then you
> will need to manually delete them from t he disc and the registry. At
> least that was the path I took. Dr. D. might know a better way.
>
> Gary G. Little
>

Hi Don,

Are you using the Coinstaller from the WDK, or from the KMDF 1.0 kit?

If the former, the bits necessary to install on pre-Vista operating systems
are missing. This has already been reported as a beta bug against 5308.
Substituting the coinstaller shipped with the KMDF kit worked for me.

The install kits for XP and 2003 are stored as resources in the DLL file, so
this is consistent with the error you are receiving in the log.

And, I agree with you and OSR that the install process for a software only
driver is about 300% more difficult with KMDF.

  • Dan.

“Don Burn” wrote in message
news:…

> The only files that match Wdf* on the whole disk are:

>

> WdfCoInstaller01000.dll

> WDFFILTRINSTALL.exe both in my install directory

>

> wdfapi.dll

> wdfmgr.exe both in System32

>

> I have never put the beta on the disk that I am using! And I no

> longer have

> the beta on any system in my lab or on my development machine, so I really

> doubt it is beta code nailing me!

>

>

> –

> Don Burn (MVP, Windows DDK)

> Windows 2k/XP/2k3 Filesystem and Driver Consulting

> Remove StopSpam from the email to reply

>

>

Dan,

Thanks that was it! Hopefully Microsoft will work on the logging and
error codes, ALREADY_EXISTS is not what I think of for resource does not
exist!


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“Dan Kyler” wrote in message news:xxxxx@ntdev…
> Hi Don,
>
> Are you using the Coinstaller from the WDK, or from the KMDF 1.0 kit?
>
> If the former, the bits necessary to install on pre-Vista operating
> systems are missing. This has already been reported as a beta bug against
> 5308. Substituting the coinstaller shipped with the KMDF kit worked for
> me.
>
> The install kits for XP and 2003 are stored as resources in the DLL file,
> so this is consistent with the error you are receiving in the log.
>
> And, I agree with you and OSR that the install process for a software only
> driver is about 300% more difficult with KMDF.
>
> - Dan.
>
>
>
> “Don Burn” wrote in message
> news:…
>
>> The only files that match Wdf* on the whole disk are:
>
>>
>
>> WdfCoInstaller01000.dll
>
>> WDFFILTRINSTALL.exe both in my install directory
>
>>
>
>> wdfapi.dll
>
>> wdfmgr.exe both in System32
>
>>
>
>> I have never put the beta on the disk that I am using! And I no
>
>> longer have
>
>> the beta on any system in my lab or on my development machine, so I
>> really
>
>> doubt it is beta code nailing me!
>
>>
>
>>
>
>> –
>
>> Don Burn (MVP, Windows DDK)
>
>> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>
>> Remove StopSpam from the email to reply
>
>>
>
>>
>
>

> The only files that match Wdf* on the whole disk are:

WdfCoInstaller01000.dll
WDFFILTRINSTALL.exe both in my install directory

wdfapi.dll
wdfmgr.exe both in System32

I have the following files on my disk:

WdfCoinstaller01000.dll in system32
WdfCoinstaller01000.dll in LastGood\system32
wdf01000.sys in System32\drivers
wdfldr.sys in System32\drivers
wdf01000.cat in system32\CatRoot{F750E6C3-38EE-11D1-85E5-00C04FC295EE}

my driver coinstaller only installs the WdfCoinstaller01000.dll, and it
works fine on computers where the KMDF was not installed previously.

Kind regards,
Bruno van Dooren
xxxxx@hotmail.com
Remove only “_nos_pam”