I try to generate test driver installation for vista, and my inf file
produce problem
when I install the driver, the services installation failed (???).

What is a problem (see in inf file below) ?
Have you an inf file sample which works with usbser.sys driver for
vista ?
Is inf tools generator exists, or checher tools ?

Inf file :
[SourceDisksNames]

[SourceDisksFiles]

[Version]
DriverVer=11/02/2006,6.0.6000.16386
signature="$WINDOWS NT$"
Class=Ports
ClassGuid = {4d36e978-e325-11ce-bfc1-08002be10318}
Provider=%Provider%
CatalogFile=Tel-USB.cat
LayoutFile=Layout.inf

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir = 12 ; system32\drivers

[Manufacturer]
%Essai% = Essai.Mfg

[Essai.Mfg]
%EssaiEFT30% = SMO.Install, USB\VID_079B&PID_0028
%EssaiP30% = SMO.Install, USB\VID_079B&PID_006D
%EssaiCAD30VR% = SMO.Install, USB\VID_079B&PID_0081
%EssaiC30% = SMO.Install, USB\VID_079B&PID_006E
%EssaiPPR30% = SMO.Install, USB\VID_079B&PID_0029
%EssaiELC40% = SMO.Install, USB\VID_079B&PID_0088

[SMO.Install.NT]
AddReg = All

[CopyFiles.Win2K]
usbser.sys,,,0x20

[SMO.Install.NT.Services]
AddService = usbser, 0x00000002, SMO.Install.AddService

[SMO.Install.AddService]
DisplayName = %SMO.Service.Name%
Description = %SMO.Service.Desc%
ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
StartType = 3 ;%SERVICE_DEMAND_START%
ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\usbser.sys

[All]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[Strings]
Provider = "Essai"
Manufacturer = "SMO"
Essai = "Essai T"
USB\VID_17F9&PID_0001="Virtual Comm port"
SMO.Service.Name = "Virtual Comm port driver"
SMO.Service.Desc = "USB Serial line emulation driver"
EssaiEFT30 = "Essai totoUSB Telium"
EssaiP30 = "Essai totoUSB P30"
EssaiCAD30VR = "Essai totoUSB CAD30VR"
EssaiC30 = "Essai totoUSB C30"
EssaiPPR30 = "Essai totoUSB PPR30"
EssaiELC40 = "Essai totoUSB ELC40"

Re: Driver installation on vista failed by Thomas

Thomas
Wed Jul 11 12:29:41 CDT 2007

It would be of some help if you gave some hint as to why it failed.

Did you examine the setupapi log in the Windows/INF folder? There should be
entries relating to your installation attempt there.

The DDK includes the CheckInf tool in the Tools folder. Have you used that
tool? It will detect some errors, but passing it does not guarantee anything
except that the syntax is correct; there still could be other problems.

Good luck,

Thomas F. Divine


<remi_inconnu@yahoo.fr> wrote in message
news:1184171720.454014.103830@g4g2000hsf.googlegroups.com...
>
> I try to generate test driver installation for vista, and my inf file
> produce problem
> when I install the driver, the services installation failed (???).
>
> What is a problem (see in inf file below) ?
> Have you an inf file sample which works with usbser.sys driver for
> vista ?
> Is inf tools generator exists, or checher tools ?
>
> Inf file :
> [SourceDisksNames]
>
> [SourceDisksFiles]
>
> [Version]
> DriverVer=11/02/2006,6.0.6000.16386
> signature="$WINDOWS NT$"
> Class=Ports
> ClassGuid = {4d36e978-e325-11ce-bfc1-08002be10318}
> Provider=%Provider%
> CatalogFile=Tel-USB.cat
> LayoutFile=Layout.inf
>
> [ControlFlags]
> ExcludeFromSelect = *
>
> [DestinationDirs]
> DefaultDestDir = 12 ; system32\drivers
>
> [Manufacturer]
> %Essai% = Essai.Mfg
>
> [Essai.Mfg]
> %EssaiEFT30% = SMO.Install, USB\VID_079B&PID_0028
> %EssaiP30% = SMO.Install, USB\VID_079B&PID_006D
> %EssaiCAD30VR% = SMO.Install, USB\VID_079B&PID_0081
> %EssaiC30% = SMO.Install, USB\VID_079B&PID_006E
> %EssaiPPR30% = SMO.Install, USB\VID_079B&PID_0029
> %EssaiELC40% = SMO.Install, USB\VID_079B&PID_0088
>
> [SMO.Install.NT]
> AddReg = All
>
> [CopyFiles.Win2K]
> usbser.sys,,,0x20
>
> [SMO.Install.NT.Services]
> AddService = usbser, 0x00000002, SMO.Install.AddService
>
> [SMO.Install.AddService]
> DisplayName = %SMO.Service.Name%
> Description = %SMO.Service.Desc%
> ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
> StartType = 3 ;%SERVICE_DEMAND_START%
> ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
> ServiceBinary = %12%\usbser.sys
>
> [All]
> HKR,,PortSubClass,1,01
> HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
>
> [Strings]
> Provider = "Essai"
> Manufacturer = "SMO"
> Essai = "Essai T"
> USB\VID_17F9&PID_0001="Virtual Comm port"
> SMO.Service.Name = "Virtual Comm port driver"
> SMO.Service.Desc = "USB Serial line emulation driver"
> EssaiEFT30 = "Essai totoUSB Telium"
> EssaiP30 = "Essai totoUSB P30"
> EssaiCAD30VR = "Essai totoUSB CAD30VR"
> EssaiC30 = "Essai totoUSB C30"
> EssaiPPR30 = "Essai totoUSB PPR30"
> EssaiELC40 = "Essai totoUSB ELC40"
>