;;/*********************************************************************
;;
;;  (c) Copyright ASIX Electronics Corporation
;;
;;  ASIX MCS7720/7715/7705 - USB 1.1 to Serial/Parallel Device Driver
;;
;;  Target OS : Windows OS 32-bit
;;
;;*********************************************************************/

[version]
;LayoutFile=layout.inf
Signature="$WINDOWS NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%ProviderName%
DriverVer=07/04/2013,1.9.9.0
CatalogFile=mcs.cat

[DestinationDirs]
DefaultDestDir  = 11        ;LDID_SYS
;Inf.Copy=17

[SourceDisksFiles]
; 1 = Disk Number
;MosUComp.inf=1
;MosUPort.inf=1


[SourceDisksNames]
1=%DiskName%,,,


[ControlFlags]


;===============================
; Driver Installation
;===============================
[Manufacturer]
%MfgName%=MosUsbPortsList

;
; Manufacturer Name Section
;
[MosUsbPortsList]
%MosUsbPort.ComPortName%=ComPort.NT,MOSCHIP\COMPOUND_SERIAL_INTERFACE
%MosUsbPort.LptPortName%=LptPort.NT,MOSCHIP\COMPOUND_PARALLEL_INTERFACE



;----------------------------------------
; COM Port Install
;----------------------------------------
[ComPort.NT]
AddReg=ComPort.NT.AddReg
;SyssetupPnPFlags = 1

[ComPort.NT.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,mosuport.sys



HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKR,,EnumPropPages32,,"MosUSBSerPropPage.dll,MosUSBSerPropPageProvider"
HKR,,PortSubClass,1,01

[ComPort.NT.HW]
AddReg=ComPort.NT.HW.AddReg

[ComPort.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"serenum"

[ComPort.NT.Services]
AddService=mosuport,2,ComPort.NT.AddService
AddService= Serenum,,Serenum_Service_Inst

[ComPort.NT.AddService]
DisplayName    = %mosuport.ServiceName%
ServiceType    = 1           ; SERVICE_KERNEL_DRIVER
StartType      = 3           ; SERVICE_DEMAND_START
ErrorControl   = 0           ; SERVICE_ERROR_IGNORE
ServiceBinary  = %12%\mosuport.sys
;LoadOrderGroup = Base


; -------------- Serenum Driver install section
[Serenum_Service_Inst]
DisplayName    = %Serenum.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\serenum.sys
LoadOrderGroup = PNP Filter

;----------------------------------------
; LPT Port Install
;----------------------------------------
[LptPort.NT]
AddReg=LptPort.NT.AddReg

[LptPort.NT.AddReg]



;HKR,,EnumPropPages32,,"MsPorts.dll,ParallelPortPropPageProvider"
HKR,,EnumPropPages32,,"MosUSBParPropPage.dll,MosUSBParPropPageProvider"
HKR,,PortSubClass,1,00
HKR,,ECPDevice,1,00

[LptPort.NT.Services]
;Include=msports.inf
;Needs=SerialEnumerator.NT.Services
AddService=mosuport,2,LptPort.NT.AddService

[LptPort.NT.AddService]
DisplayName    = %mosuport.ServiceName%
ServiceType    = 1           ; SERVICE_KERNEL_DRIVER
StartType      = 3           ; SERVICE_DEMAND_START
ErrorControl   = 0           ; SERVICE_ERROR_IGNORE
ServiceBinary  = %12%\mosuport.sys
LoadOrderGroup = Base

[LptPort.NT.CoInstallers]
CopyFiles=CoInstaller.Copy
AddReg = CoClass.CoInstallers_AddReg

[CoClass.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"ppspCoInst.dll,ppspCoInstaller"

[CoInstaller.Copy]
;Nothing

;----------------------------------------------
; User readable strings
;----------------------------------------------
[Strings]
ProviderName="ASIX Electronics Corporation"
MfgName="ASIX Electronics Corporation"
DiskName="USB Compound Device Installation Disc"
MosUsbComp.DevName="USB Compound Device"
mosuport.ServiceName="USB Serial/Parallel Ports"
PortsClassName = "Ports (COM & LPT)"
MosUsbPort.ComPortName="USB-to-Serial Port Driver"
MosUsbPort.LptPortName="USB-to-Parallel Port Driver"
Serenum.SVCDESC = "Serenum Filter Driver"
Enumerator = "Serial Enumerator"

;-----------------------
; END OF FILE
;-----------------------

