;*-----------------------------------------------------*
;| Installation inf for MODMEN                         |
;|-----------------------------------------------------|
;| Copyright (c) 1998 - 2008 by Hajesoft Corporation.  |
;|                                                     |
;| This inf file is lisenced. Any Modification is not  |
;| permitted unless authorized by Hajesoft corporation.|
;| For more information contact to www.hajesoft.com    |
;*-----------------------------------------------------*

[Version]
Signature   = "$WINDOWS NT$"
Class       = Ports
Provider    = %Provider%
ClassGuid   = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer   = 03/27/2008, 1.0.1.132
CatalogFile = mmh_prt.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames]
1 = %DiskString%, "mmh_prt.sys",,

[SourceDisksFiles]
mmh_prt.sys = 1
mmh_flt.sys = 1

[DestinationDirs]
MODMEN.Files.Ext = 12

[Manufacturer]
%Provider% = MODMEN, ntamd64
      
[MODMEN]
%MODMEN.DeviceDesc% = MODMEN.Install, USB\VID_198A&Pid_0002&MI_02

%MODMEN.DeviceDesc2% = MODMEN.Install, USB\VID_198A&Pid_0002&MI_03

[MODMEN.ntamd64]
%MODMEN.DeviceDesc% = MODMEN.Install, USB\VID_198A&Pid_0002&MI_02

%MODMEN.DeviceDesc2% = MODMEN.Install, USB\VID_198A&Pid_0002&MI_03

[MODMEN.Install.nt]
AddReg    = MODMEN.AddReg
CopyFiles = MODMEN.Files.Ext

[MODMEN.AddReg]
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKR,,LocationInformationOverride,,"MODMEN Mobile Technologies"

[MODMEN.Files.Ext]
mmh_prt.sys
mmh_flt.sys

[MODMEN.Install.NT.HW]
AddReg = UpperFilterAddReg

[MODMEN.Install.nt.Services]
AddService = mmh_prt, 0x00000002, MODMEN.Install.AddService
AddService = mmh_flt,, MODMEN.Install.AddFilter

[MODMEN.Install.AddService]
DisplayName   = %MODMEN.Port.ServiceDesc%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\mmh_prt.sys

[MODMEN.Install.AddFilter]
DisplayName   = %MODMEN.Filter.ServiceDesc%
ServiceType   = 1
StartType     = 3
ErrorControl	= 1
ServiceBinary	= %12%\mmh_flt.sys

[UpperFilterAddreg]
HKR,,"UpperFilters",0x00010000,"mmh_flt"

[Strings]
Provider                 = "MODMEN"
DiskString               = "MODMEN Mobile USB Port Install Disk"
MODMEN.DeviceDesc="MODMEN Diagnostic Port"
MODMEN.DeviceDesc2="MODMEN Application Port"
MODMEN.Port.ServiceDesc   = "MODMEN USB Port Service"
MODMEN.Filter.ServiceDesc = "MODMEN USB Filter Service"