99 lines
2.6 KiB
INI
99 lines
2.6 KiB
INI
; POSVCOM.INF
|
|
;
|
|
; Copyright ?2000-2013 Future Technology Devices International Limited
|
|
;
|
|
; USB serial port driver installation file for Windows 2000, XP, Server 2003, Vista, Server 2008,
|
|
; Windows 7 and Server 2008 R2 (x86 and x64).
|
|
;
|
|
[Version]
|
|
Signature="$Windows NT$"
|
|
DriverPackageType=PlugAndPlay
|
|
DriverPackageDisplayName=%DeviceName%
|
|
Class=Ports
|
|
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
Provider=%ProviderName%
|
|
DriverVer=06/21/2013,2.5.0.0
|
|
Catalogfile=posvcom.cat
|
|
|
|
[SourceDisksNames]
|
|
1=%DriversDisk%,,,
|
|
|
|
[SourceDisksFiles]
|
|
posvcom.sys=1,i386
|
|
|
|
[SourceDisksFiles.amd64]
|
|
posvcom.sys=1,amd64
|
|
|
|
[DestinationDirs]
|
|
Wdm.Files.Driver=10,System32\Drivers
|
|
|
|
[ControlFlags]
|
|
ExcludeFromSelect=*
|
|
|
|
[Manufacturer]
|
|
%ProviderName% = PAXHW,NTamd64
|
|
|
|
[PAXHW]
|
|
%VID_1234&PID_0101.DeviceDesc%=PAXPort.NT, USB\VID_1234&PID_0101
|
|
|
|
[PAXHW.NTamd64]
|
|
%VID_1234&PID_0101.DeviceDesc%=PAXPort.NTamd64, USB\VID_1234&PID_0101
|
|
|
|
[PAXPort.NT.AddService]
|
|
DisplayName = %ServiceName%
|
|
ServiceType = %SERVICE_KERNEL_DRIVER%
|
|
StartType = %SERVICE_DEMAND_START%
|
|
ErrorControl = %SERVICE_ERROR_NORMAL%
|
|
ServiceBinary = %10%\System32\Drivers\posvcom.sys
|
|
LoadOrderGroup = Base
|
|
|
|
[Serenum_AddService]
|
|
DisplayName = %SereServiceName%
|
|
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
|
|
StartType = 3 ; SERVICE_DEMAND_START
|
|
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
|
|
ServiceBinary = %12%\serenum.sys
|
|
LoadOrderGroup = PNP Filter
|
|
|
|
[PAXPort.NT.AddReg]
|
|
HKR,,,,%PortsClassName%
|
|
HKR,,Icon,,"-23"
|
|
HKR,,DevLoader,,*ntkern
|
|
HKR,,NTMPDriver,,posvcom.sys
|
|
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
|
|
|
|
[Wdm.Files.Driver]
|
|
posvcom.sys,,,%COPYFLG_NOSKIP%
|
|
|
|
[PAXPort.NT]
|
|
CopyFiles=Wdm.Files.Driver
|
|
AddReg=PAXPort.NT.AddReg
|
|
|
|
[PAXPort.NTamd64]
|
|
CopyFiles=Wdm.Files.Driver
|
|
AddReg=PAXPort.NT.AddReg
|
|
|
|
[PAXPort.NT.Services]
|
|
AddService = vcom_service, %SPSVCINST_ASSOCSERVICE%, PAXPort.NT.AddService
|
|
AddService = Serenum,,Serenum_AddService
|
|
|
|
[PAXPort.NTamd64.Services]
|
|
AddService = vcom_service, %SPSVCINST_ASSOCSERVICE%, PAXPort.NT.AddService
|
|
AddService = Serenum,,Serenum_AddService
|
|
|
|
[Strings]
|
|
ProviderName="PAX Technology Co. Ltd"
|
|
PortsClassName="PosPorts(VCOM)"
|
|
DeviceName="Pos Vcom Device"
|
|
ServiceName="Pos Vcom Driver"
|
|
SereServiceName="Serenum Filter Driver"
|
|
VID_1234&PID_0101.DeviceDesc="USB Serial Port(PAX)"
|
|
DriversDisk="SYS file directory"
|
|
|
|
SPSVCINST_ASSOCSERVICE=0x00000002 ; Driver service is associated with device being installed
|
|
COPYFLG_NOSKIP=2 ; Do not allow user to skip file
|
|
SERVICE_KERNEL_DRIVER=1
|
|
SERVICE_AUTO_START=2
|
|
SERVICE_DEMAND_START=3
|
|
SERVICE_ERROR_NORMAL=1
|