Win 7, BulkUSB Driver Installing Problem!!

Hi,

We are developing WDM kernel Mode Driver for Mass storage Device. For the
same we are using BulkUSB as refrence.

We made some changes in BulkUSB(lets say build ver 1.0) and installed it in
Win7. We again done one more cycle of changes and made ver 2.0.We are facing
problem in installation of 2.0.

When we install 2.0, Installation process is installing 1.0 again rather
2.0. When I further analyzed I found it making registery or copy
in win7\driverstore\bulkusb******. From there it is picking old sys file.

When we trying to delete this it is giving access denied error. How to
overcome this problem please suggest.

Thanks in advance!!

Thanks and Regards
Sunil

Do not use bulkusb as reference. It is a very poor sample to start with. First, get the latest 7.1 WDK and then use usbsamp as your starting point.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Sunil Kumar
Sent: Monday, September 20, 2010 10:27 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Win 7, BulkUSB Driver Installing Problem!!

Hi,

We are developing WDM kernel Mode Driver for Mass storage Device. For the same we are using BulkUSB as refrence.

We made some changes in BulkUSB(lets say build ver 1.0) and installed it in Win7. We again done one more cycle of changes and made ver 2.0.We are facing problem in installation of 2.0.

When we install 2.0, Installation process is installing 1.0 again rather 2.0. When I further analyzed I found it making registery or copy in win7\driverstore\bulkusb******. From there it is picking old sys file.

When we trying to delete this it is giving access denied error. How to overcome this problem please suggest.

Thanks in advance!!

Thanks and Regards
Sunil
— 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

Sunil Kumar wrote:

We are developing WDM kernel Mode Driver for Mass storage Device. For
the same we are using BulkUSB as refrence.

Why? If this is a mass storage device, then you should build it to meet
the USB Mass Storage Class specification. Once you do that, you don’t
need a driver at all.

When we install 2.0, Installation process is installing 1.0 again
rather 2.0. When I further analyzed I found it making registery or
copy in win7\driverstore\bulkusb******. From there it is picking old
sys file.

That says you did not uninstall the old driver. If you uninstall the
old driver and choose “delete driver files”, it will eliminate this old
one. Alternatively, you can use pnputil to do this, like “pnputil -d -f
xxxx.inf”.


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

> That says you did not uninstall the old driver. If you uninstall the

old driver and choose “delete driver files”, it will eliminate this old
one. Alternatively, you can use pnputil to do this, like “pnputil -d -f
xxxx.inf”.

“devcon dp_delete” is one more way.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

For installation issues, see %system drive%\Windows\inf\setupapi.dev.log.