Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > SetupCopyOEMInf failing when installing usbser.sys based device

Reply
Thread Tools Display Modes

SetupCopyOEMInf failing when installing usbser.sys based device

 
 
Geoff
Guest
Posts: n/a

 
      05-04-2010
I have tried this question a couple of times now without a response.
Is this the right place to post this?
I thought Microsft engineers replied in "2 days"?

I am using the microsoft supplied usbser.sys driver for my product.

I am using the following to install it
BOOL bOK = SetupCopyOEMInf(
szSourceInfPath,NULL,SPOST_PATH,0,NULL,0,NULL,NULL );

This works on 99.999% of machines. A few customers fail with the following
in the setupapi.log

!!! flq: Unable to determine source information
for disk ID 100.
!!! inf: Error parsing section
[DriverInstall.NTAMD64]
!!! inf: Error 0xe0000102: The required line was
not found in the INF.
inf: {Install Inf Section [DriverInstall.NTAMD64]
exit (0xe0000102)}
!!! dvi: Failed copying driver files (e0000102)
!!! dvi: Error 0xe0000102: The required line was not
found in the INF.


When I check the usbser.sys file is not on the machine. I believe that it is
supposed to be extracted from a cab.

Any suggestions?
Anyone also experienced this?
How do I get support from Microsoft to answer this issue? [I have an MSDN
account but cannot find the way yo open the support incident {yes I tried
online and by phone}

Hoping someone has an answer

Geoff









 
Reply With Quote
 
 
 
 
Tim Roberts
Guest
Posts: n/a

 
      05-05-2010
Geoff <> wrote:
>
>I am using the microsoft supplied usbser.sys driver for my product.
>
>I am using the following to install it
> BOOL bOK = SetupCopyOEMInf(
>szSourceInfPath,NULL,SPOST_PATH,0,NULL,0,NULL,NUL L);
>
>This works on 99.999% of machines. A few customers fail with the following
>in the setupapi.log
>
>!!! flq: Unable to determine source information
>for disk ID 100.
>!!! inf: Error parsing section
>[DriverInstall.NTAMD64]
>!!! inf: Error 0xe0000102: The required line was
>not found in the INF.
> inf: {Install Inf Section [DriverInstall.NTAMD64]
>exit (0xe0000102)}
>!!! dvi: Failed copying driver files (e0000102)
>!!! dvi: Error 0xe0000102: The required line was not
>found in the INF.
>
>When I check the usbser.sys file is not on the machine. I believe that it is
>supposed to be extracted from a cab.


Have you tested this on 64-bit machines? Do you have disk 100 in your
[SourceDisksNames] section?
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
Geoff Smith
Guest
Posts: n/a

 
      05-11-2010

Yes - it has been checked on other 64bit machines in our QA - they install without issue


I do not have that in my section, what should it look like?

Thanks for replying



Tim Roberts wrote:

Have you tested this on 64-bit machines?
05-May-10

Have you tested this on 64-bit machines? Do you have disk 100 in you
[SourceDisksNames] section
-
Tim Roberts,
Providenza & Boekelheide, Inc.

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF Binding Beyond the Limitation of Name Scopes
http://www.eggheadcafe.com/tutorials...nd-the-li.aspx
 
Reply With Quote
 
Geoff
Guest
Posts: n/a

 
      05-11-2010

Yes I have tried is on other 64 bit machines in our QA lab - they worked fine.

I do NOT have a disk100 in my [SourceDisksNames]

What should the section look like?

Thanks

Geoff


"Tim Roberts" wrote:

> Geoff <> wrote:
> >
> >I am using the microsoft supplied usbser.sys driver for my product.
> >
> >I am using the following to install it
> > BOOL bOK = SetupCopyOEMInf(
> >szSourceInfPath,NULL,SPOST_PATH,0,NULL,0,NULL,NUL L);
> >
> >This works on 99.999% of machines. A few customers fail with the following
> >in the setupapi.log
> >
> >!!! flq: Unable to determine source information
> >for disk ID 100.
> >!!! inf: Error parsing section
> >[DriverInstall.NTAMD64]
> >!!! inf: Error 0xe0000102: The required line was
> >not found in the INF.
> > inf: {Install Inf Section [DriverInstall.NTAMD64]
> >exit (0xe0000102)}
> >!!! dvi: Failed copying driver files (e0000102)
> >!!! dvi: Error 0xe0000102: The required line was not
> >found in the INF.
> >
> >When I check the usbser.sys file is not on the machine. I believe that it is
> >supposed to be extracted from a cab.

>
> Have you tested this on 64-bit machines? Do you have disk 100 in your
> [SourceDisksNames] section?
> --
> Tim Roberts,
> Providenza & Boekelheide, Inc.
> .
>

 
Reply With Quote
 
Geoff
Guest
Posts: n/a

 
      05-11-2010

Thanks for responding Chris, Sorry I took so long to get back, I thought I
would get email when someone posted and only just checked.

"Chris" wrote:

> On May 4, 12:08 pm, Geoff <Ge...@discussions.microsoft.com> wrote:
>
> > When I check the usbser.sys file is not on the machine. I believe that it is
> > supposed to be extracted from a cab.

>
> Have you looked at this page?
>
> http://support.microsoft.com/kb/837637

Yes - and the WinHEC document. Tried these on the customers machine without
success .
>
> You didn't post your INF so it is hard to say if you have it set up
> correctly to unpack the CAB if no one else has unpacked yet on that
> installation of Windows.


This is my full inf

; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation
; Copyright (C) 2007 Microchip Technology Inc.
; Edited PlantSense INC

[Version]
Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME%
LayoutFile=layout.inf
CatalogFile=%INFFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0

[Manufacturer]
%MFGNAME%=DeviceList, NTamd64

[DestinationDirs]
DefaultDestDir=12


;------------------------------------------------------------------------------
; Windows 2000/XP/Vista-32bit Section
;------------------------------------------------------------------------------

[DriverInstall.nt]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg

[DriverCopyFiles.nt]
usbser.sys,,,0x20

[DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropP ageProvider"

[DriverInstall.nt.Services]
AddService=usbser, 0x00000002, DriverService.nt

[DriverService.nt]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys

;------------------------------------------------------------------------------
; Vista-64bit Section
;------------------------------------------------------------------------------

[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg

[DriverCopyFiles.NTamd64]
usbser.sys,,,0x20

[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropP ageProvider"

[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService.NTamd64

[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys


;------------------------------------------------------------------------------
; Vendor and Product ID Definition
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; Modify the below line to use your VID and PID. Use the format as shown
below.
; Note: One INF file can be used for multiple devices with different VID and
PIDs.
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of
the line
;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]

[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_1CC0&PID_8000

[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_1CC0&PID_8000


;------------------------------------------------------------------------------
; String Definition
;------------------------------------------------------------------------------
;Modify these strings to customize your devic
;------------------------------------------------------------------------------
[Strings]
MFGFILENAME="EasyBloom"
INFFILENAME="plntsns"
DRIVERFILENAME ="usbser"
MFGNAME="PlantSense, INC"
INSTDISK="Installation Disc"
DESCRIPTION="EasyBloom Plant Sensor"
SERVICE="EasyBloom Plant Sensor Driver"



>
> > How do I get support from Microsoft to answer this issue? [I have an MSDN
> > account but cannot find the way yo open the support incident {yes I tried
> > online and by phone}

>
> http://msdn.microsoft.com/en-us/subs.../bb266240.aspx ?
> http://support.microsoft.com/oas/ ?

Yeah tried those, after 40 mins on the phone trying to get the person to
understand the issue, then my phone lost connection and they did not call
back.
> .
>

 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a

 
      05-13-2010
Geoff Smith wrote:
>
>Yes - it has been checked on other 64bit machines in our QA - they install without issue
>
>
>I do not have that in my section, what should it look like?


Where did you find the INF you currently have? They all have the same
basic boilerplate sections. If you look in \Windows\INF, virtually every
PnP INF file will have a section like this. SourceDisksNames tells it
where to file the file shown in [SourceDisksFiles]

[SourceDisksNames]
100 = "This is my install disk name",,
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
active sync issue mk3100 patrick craig ActiveSync 0 01-15-2010 05:06 AM
Game Compatibility BCurrey Windows Vista Games 6 11-29-2007 08:11 PM
Going Golfing but not with Vista markbyrn Windows Vista Games 15 03-08-2007 10:59 AM
americas army stuttering under vista premium ernie Windows Vista Games 0 02-27-2007 10:20 PM
problem in dxdiag Peewee64 Windows Vista Games 0 02-14-2007 09:49 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59