;---------------------------------------------------------------------------------------
; Windows USB CDC Driver Setup File for ATMEL AT91SAM products
; Improved by Pavel K, pasha_nik@mail.ru
;---------------------------------------------------------------------------------------

[Version]
Signature=		"$Windows NT$" ; Windows 200 and later versions
Class=			Ports ; This is a serial port driver
ClassGuid=		{4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=		%DriverProvider%
DriverVer=		09/25/2009,1.0.0.0 ; Driver version 1.0.0.0 published on 25 September 2009

[Manufacturer]
%DriverProvider%=	DeviceList, NT, NTia64, NTamd64

[DestinationDirs]
DefaultDestDir=		12 ; Default install directory is \drivers or \IOSubSys

[DeviceList.NT]
%DeviceDescription%=	DriverInstall,USB\VID_3912&PID_0001

[DeviceList.NTia64]
%DeviceDescription%=	DriverInstall,USB\VID_3912&PID_0001

[DeviceList.NTamd64]
%DeviceDescription%=	DriverInstall,USB\VID_3912&PID_0001

;---------------------------------------------------------------------------------------
; 32 bit section for Windows 2000/2003/XP/Vista/7
;---------------------------------------------------------------------------------------

[DriverInstall.NT]
include=		mdmcpq.inf
CopyFiles=		DriverInstall.NT.Files
AddReg=			DriverInstall.NT.AddReg

[DriverInstall.NT.Files]
usbser.sys,,,0x20

[DriverInstall.NT.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[DriverInstall.NT.Services]
AddService=usbser,0x00000002,usbser_sys_service

;---------------------------------------------------------------------------------------
; 64 bit section for Intel Itanium based systems
;---------------------------------------------------------------------------------------

[DriverInstall.NTia64]
include=		mdmcpq.inf
CopyFiles=		DriverInstall.NTia64.Files
AddReg=			DriverInstall.NTia64.AddReg

[DriverInstall.NTia64.Files]
usbser.sys,,,0x20

[DriverInstall.NTia64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[DriverInstall.NTia64.Services]
AddService=usbser,0x00000002,usbser_sys_service


;---------------------------------------------------------------------------------------
; 64 bit section for AMD64 and Intel EM64T based systems
;---------------------------------------------------------------------------------------

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

[DriverInstall.NTamd64.Files]
usbser.sys,,,0x20

[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

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

;---------------------------------------------------------------------------------------
; usbser.sys service
;---------------------------------------------------------------------------------------

[usbser_sys_service]
DisplayName=		%ServiceDescription%
ServiceType=		1 ; SERVICE_KERNEL_DRIVER, Service kernel driver
StartType=		3 ; SERVICE_DEMAND_START, Driver is started by the PnP manager
ErrorControl=		1 ; SERVICE_ERROR_NORMAL, Warn about errors
ServiceBinary=		%12%\usbser.sys
LoadOrderGroup =	Base

;---------------------------------------------------------------------------------------
; strings
;---------------------------------------------------------------------------------------

[Strings]
DriverProvider=		"Microsoft"
DeviceDescription=	"iProg+ universal programmer"
ServiceDescription=	"iProg+ usb driver"

;---------------------------------------------------------------------------------------
