; $Header: https://svn.local.mstarlabs.com/svn/msl/Rel/Eng/DAPcell/Wdm/741/Install/Src/mslacomk.inf 8908 2019-09-17 20:33:55Z XIAOZHI $ 
; Copyright (c) 1996-2019 Microstar Laboratories, Inc.
;
; This .INF installs Data Acquisition Processors services with a WDM driver 
; under Windows 2000 and later.
;

[Version]
Signature="$Windows NT$"
Class=Data Acquisition Processors
ClassGUID={f35b8bfa-2f12-11d3-85e2-00a0244aea59}
Provider= %MSTAR%
DriverVer=09/17/2019,7.4.1.0
CatalogFile.ntx86=MslAcomk.cat
CatalogFile.ntamd64=MslAk64.cat

[Manufacturer]
%MSTAR%=DapList,ntx86,ntamd64

[DestinationDirs]
DefaultDestDir=12
DeviceFiles=12
CoinstallerFiles=11

[SourceDisksNames.x86]
1=%DISK_NAME%,daptl741,,\Driver\x86

[SourceDisksNames.amd64]
1=%DISK_NAME%,daptl741,,\Driver\x64

[SourceDisksFiles.x86]
Acomk.sys = 1
MslInstl.dll = 1

[SourceDisksFiles.amd64]
Acomk.sys = 1
MslInstl.dll = 1

[DapList]
%VEN_10B5&DEV_9080%=DriverInstall,%PCI_DAP_9080_ID%
%VEN_10B5&DEV_9054%=DriverInstall,%PCI_DAP_9054_ID%
%VID_0525&PID_A6D0%=DriverInstall,%USB_DAP_2280_ID%

[DapList.ntx86]
%VEN_10B5&DEV_9080%=DriverInstall,%PCI_DAP_9080_ID%
%VEN_10B5&DEV_9054%=DriverInstall,%PCI_DAP_9054_ID%
%VID_0525&PID_A6D0%=DriverInstall,%USB_DAP_2280_ID%

[DapList.ntamd64]
%VEN_10B5&DEV_9080%=DriverInstall,%PCI_DAP_9080_ID%
%VEN_10B5&DEV_9054%=DriverInstall,%PCI_DAP_9054_ID%
%VID_0525&PID_A6D0%=DriverInstall,%USB_DAP_2280_ID%

[Classinstall32.ntx86]
AddReg=ClassReg, ClassCoinstallReg
CopyFiles=CoinstallerFiles

[Classinstall32.ntamd64]
AddReg=ClassReg, ClassCoinstallReg
CopyFiles=CoinstallerFiles

[DeviceFiles]
Acomk.sys

[CoinstallerFiles]
MslInstl.dll

[ClassReg]
HKR,,,,%DAP_CLASSNAME%
HKR,,Icon,,"-5"

[ClassReg.Security]
"D:(A;OICI;KA;;;BA)"

[ClassCoinstallReg]
HKLM,System\CurrentControlSet\Control\Class\{f35b8bfa-2f12-11d3-85e2-00a0244aea59},\
  Installer32,0,"MslInstl.dll,CLASSINSTALLER"
HKLM,System\CurrentControlSet\Control\CoDeviceInstallers,\
  {f35b8bfa-2f12-11d3-85e2-00a0244aea59},\
  0x00010008,\
  "MslInstl.dll,CLASSCOINSTALLER"

[DeviceCoinstallReg]
HKR,,CoInstallers32,0x00010000,"MslInstl.dll,DEVICECOINSTALLER"

[ControlFlags]
ExcludeFromSelect=*

[DriverInstall.ntx86]
CopyFiles= DeviceFiles

[DriverInstall.ntamd64]
CopyFiles= DeviceFiles

[DriverInstall.ntx86.CoInstallers]
AddReg=DeviceCoinstallReg
CopyFiles=CoinstallerFiles

[DriverInstall.ntamd64.CoInstallers]
AddReg=DeviceCoinstallReg
CopyFiles=CoinstallerFiles

[DriverInstall.ntx86.Services]
AddService=ACOMK,2,DriverService,EventlogService

[DriverInstall.ntamd64.Services]
AddService=ACOMK,2,DriverService,EventlogService

[DriverService]
DisplayName     = %ACOMK_DISPLAYNAME%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\Acomk.sys
LoadOrderGroup  = Extended Base

[EventlogService]
AddReg=EventlogReg

[EventlogReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\Acomk.sys"
HKR,,TypesSupported,0x00010001,7

[AcomkMediaInfo]
; Used by the class installer to figure out where the original media is
; located (so it can launch the setup programs).
OriginalInfSourcePath = %1%

[SupportedHardwareInfo]
HardwareID1 = %PCI_DAP_9080_ID%
HardwareID2 = %PCI_DAP_9054_ID% 
HardwareID3 = %USB_DAP_2280_ID% 

;------------------------------------------------------------------
;  Various strings for the installation                           ;
;------------------------------------------------------------------

[Strings]
MSTAR               = "Microstar Laboratories, Inc. (http://www.mstarlabs.com)"
DAP_CLASSNAME	    = "Data Acquisiton Processors"
ACOMK_DISPLAYNAME   = "WDM Driver for Data Acquisition Processors"
VEN_10B5&DEV_9080   = "PCI Data Acquisition Processor"
VEN_10B5&DEV_9054   = "PCI Data Acquisition Processor"
VID_0525&PID_A6D0   = "USB Data Acquisition Processor"
DISK_NAME           = "Microstar Laboratories Data Acquisition Processor Service Disk"
PCI_DAP_9080_ID     = "PCI\VEN_10B5&DEV_9080&SUBSYS_90801111"
PCI_DAP_9054_ID     = "PCI\VEN_10B5&DEV_9054&SUBSYS_00001111"
USB_DAP_2280_ID     = "USB\VID_0525&PID_A6D0"