;
; snxpcip.inf
; Setup information file for SUNIX Multi-I/O Card
; Copyright (c) 2001-2010 SUNIX GROUP
;
; Port driver setup
;
; Supported operating systems:
;   Windows 2000/XP/2003/Vista/2008/7 32bit
;   Windows XP/2003/Vista/2008/7 64bit


;-------------------------------------------------------------------------------
;
; version section
;

[Version]
Signature                = "$Windows NT$"
Class                    = Ports
ClassGuid                = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider                 = %MFGNAME%
DriverPackageType        = PlugAndPlay
DriverPackageDisplayName = %DISPLAYNAME%
DriverVer                = 12/03/2010,7.2.0.0
CatalogFile              = snxport.cat


[ControlFlags]
ExcludeFromSelect = *


;-------------------------------------------------------------------------------
;
; class install section
;

[ClassInstall32]
AddReg = ClassAddReg


[ClassAddReg]
HKR,,,,%PortsClassName%


;-------------------------------------------------------------------------------
;
; port list
;

[Manufacturer]
%MFGNAME% = SUNIXPortList, NTx86, NTamd64


[SUNIXPortList]
%serialport%   = SUNIXSerPort_NTx86, SNXPCARD_SERP
%parallelport% = SUNIXParPort_2000,  SNXPCARD_PARPECP
%parallelport% = SUNIXParPort_2000,  SNXPCARD_PARPSPP


[SUNIXPortList.NTx86]
%serialport%   = SUNIXSerPort_NTx86, SNXPCARD_SERP
%parallelport% = SUNIXParPort_NTx86, SNXPCARD_PARPECP
%parallelport% = SUNIXParPort_NTx86, SNXPCARD_PARPSPP


[SUNIXPortList.NTamd64]
%serialport%   = SUNIXSerPort_NTamd64, SNXPCARD_SERP
%parallelport% = SUNIXParPort_NTamd64, SNXPCARD_PARPECP
%parallelport% = SUNIXParPort_NTamd64, SNXPCARD_PARPSPP


;-------------------------------------------------------------------------------
;
; serial port install section
;

[SUNIXSerPort_NTx86]
CopyFiles  = SerDriver.Copy_NTx86, PropPage.Copy_NTx86
AddReg     = SUNIXSerPort_NTx86.AddReg
Include    = msports.inf
Needs      = SerialEnumerator.NT


[SUNIXSerPort_NTx86.HW]
AddReg     = SUNIXSerPortHW.AddReg


[SUNIXSerPort_NTx86.Services]
AddService = SNXPSERX, 0x00000002, SUNIXSerPort_NTx86.AddService, SUNIXSerPort_NTx86.AddEventLog
Include    = msports.inf
Needs      = SerialEnumerator.NT.Services


[SUNIXSerPort_NTamd64]
CopyFiles  = SerDriver.Copy_NTamd64, PropPage.Copy_NTamd64
AddReg     = SUNIXSerPort_NTamd64.AddReg
Include    = msports.inf
Needs      = SerialEnumerator.NT


[SUNIXSerPort_NTamd64.HW]
AddReg     = SUNIXSerPortHW.AddReg


[SUNIXSerPort_NTamd64.Services]
AddService = SNXPSAMD, 0x00000002, SUNIXSerPort_NTamd64.AddService, SUNIXSerPort_NTamd64.AddEventLog
Include    = msports.inf
Needs      = SerialEnumerator.NT.Services


;-------------------------------------------------------------------------------
;
; serial port add registry key section
;

[SUNIXSerPort_NTx86.AddReg]
HKR,,PortDriver,,snxpserx.sys
HKR,,EnumPropPages32,,"snxprops.dll,SerialPortPropPageProvider"


[SUNIXSerPort_NTamd64.AddReg]
HKR,,PortDriver,,snxpsamd.sys
HKR,,EnumPropPages32,,"snxpramd.dll,SerialPortPropPageProvider"


[SUNIXSerPortHW.AddReg]
HKR,,"UpperFilters",0x00010000,"serenum"


;-------------------------------------------------------------------------------
;
; serial port service install section
;

[SUNIXSerPort_NTx86.AddService]
DisplayName    = %SUNIXSerPort.ServiceDesc%
ServiceType    = 0x00000001
StartType      = 0x00000003
ErrorControl   = 0x00000001
ServiceBinary  = %12%\snxpserx.sys
LoadOrderGroup = Extended base


[SUNIXSerPort_NTamd64.AddService]
DisplayName    = %SUNIXSerPort.ServiceDesc%
ServiceType    = 0x00000001
StartType      = 0x00000003
ErrorControl   = 0x00000001
ServiceBinary  = %12%\snxpsamd.sys
LoadOrderGroup = Extended base


;-------------------------------------------------------------------------------
;
; serial port event log install section
;

[SUNIXSerPort_NTx86.AddEventLog]
AddReg = SUNIXSerPort_NTx86.AddEventLog.AddReg


[SUNIXSerPort_NTx86.AddEventLog.AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\snxpserx.sys"
HKR,,TypesSupported,0x00010001,7


[SUNIXSerPort_NTamd64.AddEventLog]
AddReg = SUNIXSerPort_NTamd64.AddEventLog.AddReg


[SUNIXSerPort_NTamd64.AddEventLog.AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\snxpsamd.sys"
HKR,,TypesSupported,0x00010001,7


;-------------------------------------------------------------------------------
;
; parallel port install section
;

[SUNIXParPort_2000]
CopyFiles  = PalDriver.Copy_2000
AddReg     = SUNIXParPort_NTx86.AddReg


[SUNIXParPort_2000.Services]
AddService = SNXPPAL, 0x00000002, SUNIXParPort_2000.AddService, SUNIXParPort_2000.AddEventLog


[SUNIXParPort_NTx86]
CopyFiles  = PalDriver.Copy_NTx86
AddReg     = SUNIXParPort_NTx86.AddReg


[SUNIXParPort_NTx86.Services]
AddService = SNXPPALX, 0x00000002, SUNIXParPort_NTx86.AddService, SUNIXParPort_NTx86.AddEventLog


[SUNIXParPort_NTamd64]
CopyFiles  = PalDriver.Copy_NTamd64
AddReg     = SUNIXParPort_NTamd64.AddReg


[SUNIXParPort_NTamd64.Services]
AddService = SNXPPAMD, 0x00000002, SUNIXParPort_NTamd64.AddService, SUNIXParPort_NTamd64.AddEventLog


;-------------------------------------------------------------------------------
;
; parallel port add registry key section
;

[SUNIXParPort_NTx86.AddReg]
HKR,,PortSubClass,1,00    ; LPT
HKR,,ECPDevice,1,01       ; ECP: 00 or 01
HKR,,EnumPropPages32,,"snxprops.dll,ParallelPortPropPageProvider"


[SUNIXParPort_NTamd64.AddReg]
HKR,,PortSubClass,1,00    ; LPT
HKR,,ECPDevice,1,01       ; ECP: 00 or 01
HKR,,EnumPropPages32,,"snxpramd.dll,ParallelPortPropPageProvider"


;-------------------------------------------------------------------------------
;
; parallel port service install section
;

[SUNIXParPort_2000.AddService]
DisplayName    = %SUNIXParPort.ServiceDesc%
ServiceType    = 0x00000001
StartType      = 0x00000003
ErrorControl   = 0x00000001
ServiceBinary  = %12%\snxppal.sys
LoadOrderGroup = Extended base


[SUNIXParPort_NTx86.AddService]
DisplayName    = %SUNIXParPort.ServiceDesc%
ServiceType    = 0x00000001
StartType      = 0x00000003
ErrorControl   = 0x00000001
ServiceBinary  = %12%\snxppalx.sys
LoadOrderGroup = Extended base


[SUNIXParPort_NTamd64.AddService]
DisplayName    = %SUNIXParPort.ServiceDesc%
ServiceType    = 0x00000001
StartType      = 0x00000003
ErrorControl   = 0x00000001
ServiceBinary  = %12%\snxppamd.sys
LoadOrderGroup = Extended base


;-------------------------------------------------------------------------------
;
; parallel port event log install section
;

[SUNIXParPort_2000.AddEventLog]
AddReg = SUNIXParPort_2000.AddEventLog.AddReg


[SUNIXParPort_2000.AddEventLog.AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\snxppal.sys"
HKR,,TypesSupported,0x00010001,7


[SUNIXParPort_NTx86.AddEventLog]
AddReg = SUNIXParPort_NTx86.AddEventLog.AddReg


[SUNIXParPort_NTx86.AddEventLog.AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\snxppalx.sys"
HKR,,TypesSupported,0x00010001,7


[SUNIXParPort_NTamd64.AddEventLog]
AddReg = SUNIXParPort_NTamd64.AddEventLog.AddReg


[SUNIXParPort_NTamd64.AddEventLog.AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\snxppamd.sys"
HKR,,TypesSupported,0x00010001,7


;-------------------------------------------------------------------------------
;
; file copy section
;

[PalDriver.Copy_2000]
snxppal.sys


[SerDriver.Copy_NTx86]
snxpserx.sys


[PalDriver.Copy_NTx86]
snxppalx.sys


[SerDriver.Copy_NTamd64]
snxpsamd.sys


[PalDriver.Copy_NTamd64]
snxppamd.sys


[PropPage.Copy_NTx86]
snxprops.dll


[PropPage.Copy_NTamd64]
snxpramd.dll


[SourceDisksNames]
1 = %SourceDisksNamesDesc%,,,


[SourceDisksFiles]
snxpserx.sys = 1,,
snxppal.sys  = 1,,
snxprops.dll = 1,,


[SourceDisksFiles.x86]
snxpserx.sys = 1,,
snxppalx.sys = 1,,
snxprops.dll = 1,,


[SourceDisksFiles.amd64]
snxpsamd.sys = 1,,
snxppamd.sys = 1,,
snxpramd.dll = 1,,


[DestinationDirs]
PalDriver.Copy_2000    = 12                    ; System32/Driver
SerDriver.Copy_NTx86   = 12                    ; System32/Driver
PalDriver.Copy_NTx86   = 12                    ; System32/Driver
SerDriver.Copy_NTamd64 = 12                    ; System32/Driver
PalDriver.Copy_NTamd64 = 12                    ; System32/Driver
PropPage.Copy_NTx86    = 11                    ; System directory
PropPage.Copy_NTamd64  = 11                    ; System directory
DefaultDestDir         = 11                    ; System directory


;-------------------------------------------------------------------------------
;
; string section
;

[Strings]
MFGNAME = "SUNIX Co., Ltd."
DISPLAYNAME = "SUNIX Multi-I/O Port Driver"
PortsClassName = "Ports"
SourceDisksNamesDesc = "SUNIX Driver Disk"
SUNIXSerPort.ServiceDesc = "SUNIX Serial Port Driver"
SUNIXParPort.ServiceDesc = "SUNIX Parallel Port Driver"

serialport   = "SUNIX COM Port"
parallelport = "SUNIX LPT Port"
