;************************************************************
; ProSensor USB CDC ACM Setup File
; Copyright (C) Planmeca Oy. All rights reserved.

[Version]							
Signature="$Windows NT$"											; All Windows operating systems
Class=Ports																	; This class includes serial and parallel port devices.
ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318}		; Serial and parallel port class GUID
Provider=%MFGNAME%													; Defined later in Strings section
CatalogFile=%MFGFILENAME%.cat									; Dummy catalog file, this is required for some reason
DriverVer=01/24/2011,2.0.1.8											; Date and version information

[Manufacturer]															; Identifies manufacturer and an INF-section that contains that identifies device models.
%MFGNAME%=DeviceList, NTamd64								; INF models section = PM

[DestinationDirs]		
DefaultDestDir=12														; dirid = \Drivers on WinNT platforms


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

[DriverInstall.nt]															; DDInstall section, this section is used for installations on systems (all other architectures).
include=mdmcpq.inf														; Reference to the Usbser.sys by including mdmcpq.inf file
AddReg=DriverInstall.nt.AddReg
CopyFiles=FakeModemCopyFileSection

[DriverInstall.nt.AddReg]												; Add new keys, new value entries or modifies existing value entries in registry.
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[DriverInstall.nt.Services]					; Services section
include=mdmcpq.inf
AddService=usbser, 0x00000002, DriverService.nt 

[DriverService.nt]														; Service-install-section introduced in Service section
DisplayName=%SERVICE%												; Friendly name for service/driver
ServiceType=1															; Kernel-mode device driver
StartType=3																; Driver started on-demand
ErrorControl=1																; Service error level: normal.
ServiceBinary=%12%\%DRIVERFILENAME%.sys					; Path of the binary for the service


;------------------------------------------------------------------------------
;  Vista-64bit Sections
;------------------------------------------------------------------------------

[DriverInstall.NTamd64]						; see above...
include=mdmcpq.inf
AddReg=DriverInstall.NTamd64.AddReg
CopyFiles=FakeModemCopyFileSection

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

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

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

;------------------------------------------------------------------------------
;  Vendor and Product ID Definitions
;------------------------------------------------------------------------------

[SourceDisksFiles]
[SourceDisksNames]
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_0F4A&PID_0D94

[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_0F4A&PID_0D94


;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------

[Strings]
MFGFILENAME="ProSensor_USB"
DRIVERFILENAME ="usbser"
MFGNAME="Planmeca Oy"
DESCRIPTION="ProSensor USB"
SERVICE="ProSensor COM port emulation driver"

