locked
USB FLASH DRIVE DRIVER DEVELOPMENT RRS feed

  • Question

  • I HAVE WRITTEN AN INF FILE FOR INSTALLATION OF DRIVER FOR MY USB FLASH DRIVE FOR WINDOWS 2000 PLATFORM USING WDK 6000 VERSION,FOR INSTALLING IT I HAVE TRIED FOLLOWING STEPS:
    1.IN DEVICE MANAGER,I USED 'UPGRADE DRIVER ' AFTER SELECTING THE DEVICE.
    2.I SPECIFIED LOCATION OF DRIVER AS:"C:\Users\parnav\Desktop\TEST\objchk_w2k_x86\i386 "(ON MY COMPUTER).
    3.SELECTED "LET ME PICK DEVICE DRIVER".
    4.THEN I SPECIFIED PATH OF INF FILE AS:"C:\Users\parnav\Desktop\TEST ".

    WHILE INSTALLING THE DRIVER FILE IT DISPLAYS AN ERROR "THE SYSTEM CANNOT FIND THE FILE SPECIFIED"
    I HAVE ATTACHED COPY OF MY INF FILE BELOW, WOULD YOU  PLEASE DETERMINE THE PROBLEM WITH IT:

    HERE INSTALLATION ROOT IS "C:\Users\parnav\Desktop\TEST " & 'objchk_w2k_x86 ' IS SUB DIRECTORY OF 'TEST ' DIRECTORY.
    ACTUAL LOCATION OF DRIVER FILE IS:C:\Users\parnav\Desktop\TEST\ objchk_w2k_x86\i386\MYTESTDRIVER.SYS
    ACTUAL LOCATION OF COINSTALLER FILE IS:C:\Users\parnav\Desktop\TEST\i386\WdfCoinstaller01005.dll

    [Version]
    Signature="$Windows NT$"
    Class=Mass Storage
    ClassGuid={4d36e967-e325-11ce-bfc1-08002be10318}
    Provider=%MFGNAME%
    DriverVer=29/03/09
    ;copyright PRANAV KANT GAUR

    [Manufacturer]
    %MFGNAME%=DeviceList

    [SourceDiskNames]
    1=%INST_DISK_NAME%

    [SourceDiskFiles]
    MYTESTDRIVER.sys=1,\objchk_w2k_x86\i386,
    WdfCoinstaller01005.dll=1,\objchk_w2k_x86\i386,

    [DestinationDirs]
    DefaultDestDir=10,System32\drivers             
    ClassInstall32_CopyFiles=11
    CoInstaller_CopyFiles = 11

    [DeviceList]
    %DEV_DESCRIPTION%=DriverInstall,USB\VID_1307&PID_0165\080217d189e6c4

    [ClassInstall32]
    AddReg=ClassInstall32_AddReg
    CopyFiles=ClassInstall32_CopyFiles


    [ClassInstall32_AddReg]
    HKR,,,,"FIRST DRIVER"
    HKR,,Icon,,101

    [ClassInstall32_CopyFiles]


    [DriverInstall.ntx86]
    DriverVer=29/03/09,1.0.0.1
    CopyFiles=DriverCopyFiles

    [DriverCopyFiles]
    \objchk_w2k_x86\i386\MYTESTDRIVER.sys,,,2

    [DriverInstall.ntx86.Services]
    AddService=wdf_basic,2,DriverService

    [DriverService]
    ServiceType=1
    StartType=3
    ErrorControl=1
    ServiceBinary=%10%\system32\drivers\MYTESTDRIVER.sys

    [DriverInstall.ntx86.CoInstallers]
    AddReg=CoInstaller_AddReg
    CopyFiles=CoInstaller_CopyFiles

    [CoInstaller_CopyFiles]
    \objchk_w2k_x86\i386\WdfCoinstaller01005.dll,,,2

    [CoInstaller_AddReg]
    HKR,,CoInstallers32,0x00010000,"WdfCoinstaller01005.dll,WdfCoInstaller"

    [DriverInstall.ntx86.Wdf]
    KmdfService=basic,basic_wdfsect

    KmdfLibraryVersion=1.5

    [Strings]
    MFGNAME="Driver factory"
    INSTDISK="Installation Disc"
    DEV_DESCRIPTION="Basic WDF device"
    INST_DISK_NAME="Basic WDF device driver installation disk"

    Sunday, April 5, 2009 4:14 PM

Answers

  • Hi, after checking the issue, it seems this is a USB driver development issue under Windows 2000. As this forum focuses on SteadyState specific issues, this inquiry would best be posted to MSDN:

     

    http://social.msdn.microsoft.com/Forums/en-US/categories

     

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the newsgroups regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.


    Sean Zhu - MSFT
    • Marked as answer by Sean Zhu - Monday, April 13, 2009 3:17 AM
    Wednesday, April 8, 2009 3:13 AM