none
Pre-install RNDIS driver RRS feed

  • Question

  • I´m trying to install a RNDIS driver using a Microsoft INF template.

    Microsoft RNDIS template can be found when searching on "RNDIS template"

    My device is running Windows ce 6.0 R3.

    Target machine: Windows 7 32-bit.

    Here is what i have done:

    1. I have replaced the vendor ID and product ID with my own.

    2. I have time stampt the inf file using "stampinf.exe".

    3. I have created a .cat file using "inf2cat.exe".

    4. I have signed the .cat file using "signtool.txt".

    When i try to install this using e.g "DPInst.exe" or "pnputil.exe" i get the following error in

    "setupapi.dev.log":

         sto:      {Index Driver Package: C:\Windows\System32\DriverStore\FileRepository\spmusb.inf_x86_neutral_27ca9b9a454f6437\spmusb.inf} 14:02:54.565
    !    sto:           Unable to determine if driver package 'spmusb.inf' is already registered. Error = 0x00000002
    !!!  sto:           Failed to register driver package 'C:\Windows\System32\DriverStore\FileRepository\spmusb.inf_x86_neutral_27ca9b9a454f6437\spmusb.inf'. Error = 0x00000002
         sto:      {Index Driver Package: exit(0x00000002)} 14:02:54.565
         sto:      {DRIVERSTORE_IMPORT_NOTIFY_END} 14:02:54.565
         ndv:           No system restore point was set earlier.
         sto:      {DRIVERSTORE_IMPORT_NOTIFY_END: exit(0x00000002)} 14:02:54.565
         sto:      Rolled back driver package import.
    !!!  sto:      Failed to import driver package into Driver Store. Error = 0x00000002
         sto: {Stage Driver Package: exit(0x00000002)} 14:02:54.565
    !!!  sto: Failed to stage driver package to Driver Store. Error = 0x00000002, Time = 2387 ms
    <<<  Section end 2012/09/25 14:02:54.581
    <<<  [Exit status: FAILURE(0x00000002)]

    If i run the installation a second time it will succeed.

    Thanks in advance

    /Per

    Tuesday, September 25, 2012 1:52 PM