Windows could not load the installer for USB,..

Hi gurus,
I am new to this mailing list, I hope this is the right place to post this question.
I am trying to write a umdf driver for a USB device, it installs properly on most of the computers but I am getting a “Windows could not load the installer for USB,…” error on one of the computers.
This particular computer seem to have an older UMDF installation, and the setup seem to fail while trying to update one of the previously installed devices, in this case the Motorola Flash Interface.
Which is causing my driver to fail to install.

Any ideas how I can avoid this error.

Here a part from the setupapi.log which has the error.

Thanks for any help you can provide.

Maklouf,

#-019 Searching for hardware ID(s):usb\vid_22b8&pid_6023&rev_0001,usb\vid_22b8&pid_6023
#-018 Searching for compatible ID(s):usb\class_ff&subclass_0a&prot_ff,usb\class_ff&subclass_0a,usb\class_ff
#-198 Command line processed: c:\1023d86c1614b04ecc\update\update.exe/quiet /ER /log:“C:\WINDOWS\temp\winusb_update.log”
#I063 Selected driver installs from section [P2k.INSTALL] in “c:\windows\inf\oem21.inf”.
#I320 Class GUID of device remains: {FEB8D079-0681-11D4-9531-0060089ABC08}.
#I060 Set selected driver.
#-147 Loading class installer module for “Motorola Flash Interface”.
#E360 An unsigned or incorrectly signed file “C:\WINDOWS\system32\mot_ci.dll” for driver “Motorola Flash Interface” will be installed (Policy=Ignore). Error 2: The system cannot find thefile specified.
#E144 Loading module “C:\WINDOWS\system32\mot_ci.dll” failed. Error 126:The specified module could not be found.Windows could not load the installer for USB. Contact your hardwarevendor for assistance. Error 126: The specified module could not be found.

The error message said that the fie c:\windows\system32\mot_ci.dll could not be found.
I searched for the name of this fie and I found a post at http://www.motorolafans.com/forums/a1200-general-chat/4998-info-flashing-rsd-lite-troubleshooting-guide-8.html saying that a user of that forum also had the same problem and he found the file at \Program Files\Common Files\Motorola Shared\MotPCSDrivers\P2K. So, he copied the file from there to c:\windows\system32 and everything worked. Can you search for this file in your hard disk and see if that solution works?

Ilias


From: xxxxx@lists.osr.com [xxxxx@lists.osr.com] On Behalf Of xxxxx@hotmail.com [xxxxx@hotmail.com]
Sent: Wednesday, November 19, 2008 6:56 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Windows could not load the installer for USB,…

Hi gurus,
I am new to this mailing list, I hope this is the right place to post this question.
I am trying to write a umdf driver for a USB device, it installs properly on most of the computers but I am getting a “Windows could not load the installer for USB,…” error on one of the computers.
This particular computer seem to have an older UMDF installation, and the setup seem to fail while trying to update one of the previously installed devices, in this case the Motorola Flash Interface.
Which is causing my driver to fail to install.

Any ideas how I can avoid this error.

Here a part from the setupapi.log which has the error.

Thanks for any help you can provide.

Maklouf,

#-019 Searching for hardware ID(s):usb\vid_22b8&pid_6023&rev_0001,usb\vid_22b8&pid_6023
#-018 Searching for compatible ID(s):usb\class_ff&subclass_0a&prot_ff,usb\class_ff&subclass_0a,usb\class_ff
#-198 Command line processed: c:\1023d86c1614b04ecc\update\update.exe/quiet /ER /log:“C:\WINDOWS\temp\winusb_update.log”
#I063 Selected driver installs from section [P2k.INSTALL] in “c:\windows\inf\oem21.inf”.
#I320 Class GUID of device remains: {FEB8D079-0681-11D4-9531-0060089ABC08}.
#I060 Set selected driver.
#-147 Loading class installer module for “Motorola Flash Interface”.
#E360 An unsigned or incorrectly signed file “C:\WINDOWS\system32\mot_ci.dll” for driver “Motorola Flash Interface” will be installed (Policy=Ignore). Error 2: The system cannot find thefile specified.
#E144 Loading module “C:\WINDOWS\system32\mot_ci.dll” failed. Error 126:The specified module could not be found.Windows could not load the installer for USB. Contact your hardwarevendor for assistance. Error 126: The specified module could not be found.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

Thanks Ilias for your answer.

I did not look for this file but I guess your suggestion will probably fix the problem.

But I don’t want to fix it this way, my question is why another (not related) driver installation is breaking the installation of my driver, why is this other third party missing file affecting the installation of my driver

BTW my inf file relies heavily on the OSR USB FX sample.

Maklouf,

Maklouf,

My guess is that Motorola’s software registered the file mot_ci.dll as a class installer for USB devices (meaning that it will be called for all USB devices), however for some reason the file was not copied to the correct folder (c:\windows\system32),when the corresponding software was installed. So, even though Windows is trying to call the class installer for all USB devices, the file cannot be loaded. And if I’m correct, then this means that all your USB drivers (regardess of whether they are UMDF/KMDF/WDM) would fail to instal. Of course, I don’t exactly know what this file is doing, so I’m just making a guess. If somebody knows more about this issue, feel free to correct me.

Ilias


From: xxxxx@lists.osr.com [xxxxx@lists.osr.com] On Behalf Of xxxxx@hotmail.com [xxxxx@hotmail.com]
Sent: Wednesday, November 19, 2008 10:39 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Windows could not load the installer for USB,…

Thanks Ilias for your answer.

I did not look for this file but I guess your suggestion will probably fix the problem.

But I don’t want to fix it this way, my question is why another (not related) driver installation is breaking the installation of my driver, why is this other third party missing file affecting the installation of my driver

BTW my inf file relies heavily on the OSR USB FX sample.

Maklouf,

Maklouf,


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

You are right, I tried to reinstall WMP 11 on that computer and it’s giving me the same error message. I know wmp uses umdf.
I checked the logs and it’s the same error with this mot_ci.dll file missing.
Is there a work around for this problem? like starting devcon is a silent mode or something like this.
This is a serious flaw for umdf/kmdf install process.
Thanks,
Maklouf

Maklouf

xxxxx@hotmail.com wrote:

You are right, I tried to reinstall WMP 11 on that computer and it’s giving me the same error message. I know wmp uses umdf.
I checked the logs and it’s the same error with this mot_ci.dll file missing.
Is there a work around for this problem? like starting devcon is a silent mode or something like this.
This is a serious flaw for umdf/kmdf install process

It’s a serious flaw ON THE PART OF MOTOROLA. Motorola has installed
something on your computer that has broken your computer.

There are two possible workarounds: either go find a copy of mot_ci.dll
and copy it in place, or remove it from the class installer key in the
registry.


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

> -----Original Message-----

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@hotmail.com
Sent: Friday, November 21, 2008 2:52 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Windows could not load the installer for USB,…

This is a serious flaw for umdf/kmdf install process.

IMO it has nothing to do with KMDF/UMDF. I presume any USB device
installation would behave this way. The problem occurs because something
registered class installer for USB device and it isn’t available.
Registering class installer for USB devices is strange enough and if it
influences all USB devices, it seems horrible. Especially if it was
uninstallation what deleted it and didn’t deregister it.

Try to scan all INF files on this machine for the DLL name. It can show
you which INF caused it.

You can remove class installer registry entry manually.

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]

> > It’s a serious flaw ON THE PART OF MOTOROLA. Motorola has installed> something on your computer that has broken your computer.

Yes I agree with that, but bottom line is our device won’t install on all the computers that have this kind of problem.
But I guess if windows media player can’t install properly, I doubt there is a work around.

> There are two possible workarounds: either go find a copy of mot_ci.dll> and copy it in place, or remove it from the class installer key in the> registry.
I am not worried about this particular computer, but about outside users that will encounter this problem.
Thanks,
Maklouf.


Get more done, have more fun, and stay more connected with Windows Mobile?.
http://clk.atdmt.com/MRT/go/119642556/direct/01/

You have to understand that ANY USB driver will not install in that machine, regardless of the way that it was written. The machine is messed up. Motorola’s software created a problem with your machine. You think that it’s the framework’s fault for not fixing everything, but the installer cannot take care of everything! Think what would happen, if a different program started deleting random files from your computer or started messing up with the registry. It’s very possible that after lots of damage you would try to open your browser and then it would not load, because there would be missing dlls and/or corrupt registry. Is it the browser’s fault for not being able to load, because the other badly written program messed up with your machine?

In your scenario, we have provided work-arounds to solve it. If a user sees the same scenario, then he should: a) complain to the company that actually messed up his machine and b) follow the workarounds.

Ilias


From: xxxxx@lists.osr.com [xxxxx@lists.osr.com] On Behalf Of maklouf Serghine [xxxxx@hotmail.com]
Sent: Thursday, November 20, 2008 6:17 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Windows could not load the installer for USB,…

It’s a serious flaw ON THE PART OF MOTOROLA. Motorola has installed
something on your computer that has broken your computer.

Yes I agree with that, but bottom line is our device won’t install on all the computers that have this kind of problem.
But I guess if windows media player can’t install properly, I doubt there is a work around.

There are two possible workarounds: either go find a copy of mot_ci.dll
and copy it in place, or remove it from the class installer key in the
registry.

I am not worried about this particular computer, but about outside users that will encounter this problem.
Thanks,
Maklouf.


Get more done, have more fun, and stay more connected with Windows Mobile?. See how.http:</http:>

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ilias
Tsigkogiannis
Sent: Friday, November 21, 2008 9:10 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Windows could not load the installer for
USB,…

In your scenario, we have provided work-arounds to solve it. If
a user sees the same scenario, then he should: a) complain to the
company that actually messed up his machine and b) follow the
workarounds.

You’re rigth but if this crazy class installer is widespread enough it
can be serious problem which can influence all USB devices. Maybe it
should be investigated by MS. I believe it’d be taken more seriously by
Motorola if MS says “don’t do this!” than if an average user reports a
problem.

BTW, I was under impression installing own class installers for existing
classes is forbidden, isn’t it?

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com http:</http:>]

Michal Vodicka wrote:

You’re rigth but if this crazy class installer is widespread enough it
can be serious problem which can influence all USB devices.

Try Googling for “Motorola wdf01000” to witness the KMDF coinstaller blowing up on countless innocent individuals…

And after you do that, please make sure that you notice that all these posts mention the KMDF 1.5 coinstaller (wdfcoinstaller01005.dll). I suggest that you use the KMDF 1.7 coinstaller with your drivers :slight_smile:

Ilias

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Friday, November 21, 2008 3:09 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Windows could not load the installer for USB,…

Michal Vodicka wrote:

You’re rigth but if this crazy class installer is widespread enough it
can be serious problem which can influence all USB devices.

Try Googling for “Motorola wdf01000” to witness the KMDF coinstaller blowing up on countless innocent individuals…


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

Thanks guys for your help on this issue:

In your scenario, we have provided work-arounds to solve it. If a user sees the same scenario, then he should: a) complain to the company that actually messed up his machine

The exact error message the user will get when installing is “Windows could not load the installer for USB. Contact your hardware vendor for assistance”,
So He won’t know it’s Motorola he will blame it on us.

and b) follow the workarounds.
Asking average users to go read setupapi logs and delete registry keys is a bit confusing for non techy people.

BTW I am already using the 1.7 installer.

Regards,
Maklouf.

From: xxxxx@lists.osr.com [xxxxx@lists.osr.com] On Behalf Of maklouf Serghine [xxxxx@hotmail.com]Sent: Thursday, November 20, 2008 6:17 PMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] Windows could not load the installer for USB,…

> It’s a serious flaw ON THE PART OF MOTOROLA. Motorola has installed> something on your computer that has broken your computer. Yes I agree with that, but bottom line is our device won’t install on all the computers that have this kind of problem.But I guess if windows media player can’t install properly, I doubt there is a work around. > > There are two possible workarounds: either go find a copy of mot_ci.dll> and copy it in place, or remove it from the class installer key in the> registry.I am not worried about this particular computer, but about outside users that will encounter this problem.Thanks,Maklouf.

Get more done, have more fun, and stay more connected with Windows Mobile?. See how.— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Access your email online and on the go with Windows Live Hotmail.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_112008

Maklouf, as I said, this is nothing that can be solved by the coinstaller. Just to make things clear: a program that you installed messed up with the registry in your machine. The coinstaller cannot fix this.

Ilias

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of maklouf Serghine
Sent: Friday, November 21, 2008 4:01 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Windows could not load the installer for USB,…


Thanks guys for your help on this issue:

In your scenario, we have provided work-arounds to solve it. If a user sees the same scenario, then he should: a) complain to the company that actually messed up his machine

The exact error message the user will get when installing is “Windows could not load the installer for USB. Contact your hardware vendor for assistance”,
So He won’t know it’s Motorola he will blame it on us.

and b) follow the workarounds.
Asking average users to go read setupapi logs and delete registry keys is a bit confusing for non techy people.

BTW I am already using the 1.7 installer.

Regards,
Maklouf.


From: xxxxx@lists.osr.com [xxxxx@lists.osr.com] On Behalf Of maklouf Serghine [xxxxx@hotmail.com]
Sent: Thursday, November 20, 2008 6:17 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Windows could not load the installer for USB,…

It’s a serious flaw ON THE PART OF MOTOROLA. Motorola has installed
something on your computer that has broken your computer.

Yes I agree with that, but bottom line is our device won’t install on all the computers that have this kind of problem.
But I guess if windows media player can’t install properly, I doubt there is a work around.

There are two possible workarounds: either go find a copy of mot_ci.dll
and copy it in place, or remove it from the class installer key in the
registry.

I am not worried about this particular computer, but about outside users that will encounter this problem.
Thanks,
Maklouf.


Get more done, have more fun, and stay more connected with Windows Mobile(r). See how.http:</http:>

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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


Access your email online and on the go with Windows Live Hotmail. Sign up today.http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

Ilias Tsigkogiannis wrote:

And after you do that, please make sure that you notice
that all these posts mention the KMDF 1.5 coinstaller
(wdfcoinstaller01005.dll). I suggest that you use the
KMDF 1.7 coinstaller with your drivers :slight_smile:

Thanks, can you share your time machine design with us? Because I’d also like to short the stock market starting about a year ago.

Actually, let me rephrase it a little bit.
The UMDF and the KMDF coinstallers are not even called! The break happens, because the PNP manager tries to call Motorola’s class installer (and this happens, regardless of any calls to the coinstallers), which is not there! How can we fix that?

Ilias

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Ilias Tsigkogiannis
Sent: Friday, November 21, 2008 4:10 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Windows could not load the installer for USB,…

Maklouf, as I said, this is nothing that can be solved by the coinstaller. Just to make things clear: a program that you installed messed up with the registry in your machine. The coinstaller cannot fix this.

Ilias

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of maklouf Serghine
Sent: Friday, November 21, 2008 4:01 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Windows could not load the installer for USB,…


Thanks guys for your help on this issue:

In your scenario, we have provided work-arounds to solve it. If a user sees the same scenario, then he should: a) complain to the company that actually messed up his machine

The exact error message the user will get when installing is “Windows could not load the installer for USB. Contact your hardware vendor for assistance”,
So He won’t know it’s Motorola he will blame it on us.

and b) follow the workarounds.
Asking average users to go read setupapi logs and delete registry keys is a bit confusing for non techy people.

BTW I am already using the 1.7 installer.

Regards,
Maklouf.


From: xxxxx@lists.osr.com [xxxxx@lists.osr.com] On Behalf Of maklouf Serghine [xxxxx@hotmail.com]
Sent: Thursday, November 20, 2008 6:17 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Windows could not load the installer for USB,…

It’s a serious flaw ON THE PART OF MOTOROLA. Motorola has installed
something on your computer that has broken your computer.

Yes I agree with that, but bottom line is our device won’t install on all the computers that have this kind of problem.
But I guess if windows media player can’t install properly, I doubt there is a work around.

There are two possible workarounds: either go find a copy of mot_ci.dll
and copy it in place, or remove it from the class installer key in the
registry.

I am not worried about this particular computer, but about outside users that will encounter this problem.
Thanks,
Maklouf.


Get more done, have more fun, and stay more connected with Windows Mobile(r). See how.http:</http:>

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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


Access your email online and on the go with Windows Live Hotmail. Sign up today.http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

Chris, I agree with you. I also wish that we knew about these problems, before releasing the older coinstallers. All I’m saying is that we’re working on fixing the problems that we know about and that we’ve fixed many of the ones that are there in the wild.

Ilias

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Friday, November 21, 2008 4:14 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Windows could not load the installer for USB,…

Ilias Tsigkogiannis wrote:

And after you do that, please make sure that you notice
that all these posts mention the KMDF 1.5 coinstaller
(wdfcoinstaller01005.dll). I suggest that you use the
KMDF 1.7 coinstaller with your drivers :slight_smile:

Thanks, can you share your time machine design with us? Because I’d also like to short the stock market starting about a year ago.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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