;************************************************************************************
;
; Name       :  PTDMWWAN.inf  
;
; Function   :  Install PANTECH USB Modem Wrieless WAN device driver on Windows 2000/XP/VISTA
;
; Copyright (c) DEVGURU
;
;************************************************************************************

[Version]
Signature="$WINDOWS NT$"
Class=Net
ClassGUID={4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%Provider%
DriverVer=11/03/2009,3.2.4074.1103
CatalogFile=PTDMWWAN.cat


[ControlFlags]
ExcludeFromSelect = *

;--------- DestinationDirs Section -------------------------------------------

[DestinationDirs]
DefaultDestDir = 12
CoInstaller_CopyFiles = 11 ; System Dir( system32 on NT )
PTDMWWAN_Files_Driver = 12

;--------- SourceDiskNames and SourceDiskFiles Section -----------------------
; These sections identify source disks and files for installation.


[SourceDisksNames.x86]
1 = %DiskString%,,,\i386

[SourceDisksNames.ia64]
1 = %DiskString%,,,\ia64

[SourceDisksNames.amd64]
1 = %DiskString%,,,\amd64



; For Win2K
[SourceDisksFiles]
PTDMWWAN.sys  = 1
PTDMWFLT.sys = 1
ptdmcit.dll = 1,,

; For XP and later
[SourceDisksFiles.NTx86.5.1]
PTDMWWAN.sys  = 1
ptdmcit.dll = 1,,

[SourceDisksFiles.ia64]
PTDMWWAN.sys  = 1
ptdmcit.dll = 1,,

[SourceDisksFiles.amd64]
PTDMWWAN.sys  = 1
ptdmcit.dll = 1,,


;--------- Manufacturer and Models Sections ----------------------------------

[Manufacturer]
%MfgName% = PTDM, NTx86.5.1, NTia64, NTamd64


; For Win2K
[PTDM]
%PTDMWWAN_DeviceDesc% = PTDM.Install.W2K, USB\VID_106C&PID_3711&MI_F0
%PTDMWWAN_DeviceDesc% = PTDM.Install.W2K, USB\VID_106C&PID_3712&MI_F0
%PTDMWWAN_DeviceDesc% = PTDM.Install.W2K, USB\VID_106C&PID_3713&MI_F0

; For XP and later
[PTDM.NTx86.5.1]
%PTDMWWAN_DeviceDesc% = PTDM.Install, USB\VID_106C&PID_3711&MI_F0
%PTDMWWAN_DeviceDesc% = PTDM.Install, USB\VID_106C&PID_3712&MI_F0
%PTDMWWAN_DeviceDesc% = PTDM.Install, USB\VID_106C&PID_3713&MI_F0


[PTDM.NTia64]
%PTDMWWAN_DeviceDesc% = PTDM.Install, USB\VID_106C&PID_3711&MI_F0
%PTDMWWAN_DeviceDesc% = PTDM.Install, USB\VID_106C&PID_3712&MI_F0
%PTDMWWAN_DeviceDesc% = PTDM.Install, USB\VID_106C&PID_3713&MI_F0

[PTDM.NTamd64]
%PTDMWWAN_DeviceDesc% = PTDM.Install, USB\VID_106C&PID_3711&MI_F0
%PTDMWWAN_DeviceDesc% = PTDM.Install, USB\VID_106C&PID_3712&MI_F0
%PTDMWWAN_DeviceDesc% = PTDM.Install, USB\VID_106C&PID_3713&MI_F0




; --------- Windows 2000 -----------------

[PTDM.Install.W2K.NT]
Characteristics = 0x81          ; NCF_HAS_UI & NCF_VIRTUAL
CopyFiles=PTDMWWAN_Files_Driver_W2K
AddReg=PTDMWWAN.reg, PTDMWWAN.params.reg

[PTDM.Install.W2K.NT.Services]
Addservice = PTDMWWAN, 0x00000002, PTDM.Install.AddService
AddService = PTDMWFLT,,PTDM.Install.W2K.AddService

[PTDM.Install.W2K.NT.HW]
AddReg = PTDM.Install.W2K.HW.AddReg

[PTDM.Install.W2K.HW.AddReg]
HKR,,UpperFilters,0x00010000, "PTDMWFLT"


; --------- Windows NT -----------------

[PTDM.Install.NT]
Characteristics = 0x81          ; NCF_HAS_UI & NCF_VIRTUAL
CopyFiles=PTDMWWAN_Files_Driver_W2K
AddReg=PTDMWWAN.reg, PTDMWWAN.params.reg

[PTDM.Install.NT.Services]
Addservice = PTDMWWAN, 0x00000002, PTDM.Install.AddService
AddService = PTDMWFLT,,PTDM.Install.W2K.AddService

[PTDMWWAN.reg]
HKR, Ndi, Service, 0, "PTDMWWAN"
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"

[PTDM.Install.NT.HW]
AddReg = PTDM.Install.HW.AddReg

[PTDM.Install.HW.AddReg]
HKR,,UpperFilters,0x00010000, "PTDMWFLT"

;=============================================================
;Coinstaller installation
;=============================================================
[PTDM.Install.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"ptdmcit.dll,DGCoInstaller"

[CoInstaller_CopyFiles]
ptdmcit.dll
;=============================================================

; --------- Service ----------------------

[PTDM.Install.AddService]
DisplayName    = %PTDMWWAN_SvcDesc%
ServiceType    = 1    ;;%SERVICE_KERNEL_DRIVER%
StartType      = 3    ;;%SERVICE_DEMAND_START%
ErrorControl   = 1    ;;%SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\PTDMWWAN.sys
LoadOrderGroup = NDIS


[PTDM.Install.W2K.AddService]
DisplayName    = "PTDMWWAN Filter Driver"
ServiceType    = 1    ;;%SERVICE_KERNEL_DRIVER%
StartType      = 3    ;;%SERVICE_DEMAND_START%
ErrorControl   = 1    ;;%SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\PTDMWFLT.sys
LoadOrderGroup = NDIS


; --------- Files ----------------------

[PTDMWWAN_Files_Driver]
PTDMWWAN.sys

[PTDMWWAN_Files_Driver_W2K]
PTDMWWAN.sys
PTDMWFLT.sys


;-------------------------------------------------------------------------------
; Optional Custom Parameters in the Registry ("Advanced" menu).
[PTDMWWAN.params.reg]
;example
HKR, NDI\params\NetworkAddress,           ParamDesc,      0, %NetworkAddress%
HKR, NDI\params\NetworkAddress,           type,           0, "edit"
HKR, NDI\params\NetworkAddress,           LimitText,      0, "12"
HKR, NDI\params\NetworkAddress,           UpperCase,      0, "1"
HKR, NDI\params\NetworkAddress,           default,        0, " "
HKR, NDI\params\NetworkAddress,           optional,       0, "1"

;--------- Strings Section ---------------------------------------------------

[Strings]
Provider = "PANTECH CO., LTD "
MfgName = "PANTECH CO., LTD "
PTDMWWAN_DeviceDesc = "PANTECH USB Modem WWAN Driver"
PTDMWWAN_SvcDesc = "PANTECH USB Modem WWAN Driver"
DiskString = "PANTECH USB Modem WWAN device driver Installation Disk"
NetworkAddress = "Network Address (MAC)"



