;-----------------------------------------------------------------------------
; Copyright Deli Group  2019 All rights reserved
;-----------------------------------------------------------------------------

[Version]
Signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
CatalogFile=deliscn_nw_100.cat
DriverVer=08/17/2023, 1.4.1.8

[SourceDisksNames]
1=%DeliScnDrv.DeviceDesc%

[SourceDisksFiles]
DELISCN_USD.dll=1
DELISCN_ErrorHandler.dll=1
DELISCN_ImageFilter.dll=1
DELISCN_Config.ini=1

[Manufacturer]
%Mfg%=Models, NTx86, NTamd64

[Models.NTx86]
%DeliScnDrv.DeviceDesc% = DeliInstall.NT, DeliScnDrv_ID

[Models.NTamd64]
%DeliScnDrv.DeviceDesc% = DeliInstall.NT, DeliScnDrv_ID

[DeliInstall.NT]
Include= sti.inf
Needs=STI.SerialSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x31
Events=Deli.Events
DeviceData=DeliDeviceData
AddReg=DeliAddReg
CopyFiles=USDFiles.NT
UninstallSection=DeliUninstall.NT
ICMProfiles="sRGB Color Space Profile.icm"

[DeliInstall.NT.Services]
Include= sti.inf
Needs= STI.SerialSection.Services

[Deli.Events]

[DeliDeviceData]
Server=local
UI Class ID={31B72D63-51F7-42f1-9A3B-02EB866B3074}

;
; Registry
;
[DeliAddReg]
HKR,,HardwareConfig,1,8
HKR,,CreateFileName,,AUTO

HKR,,USDClass,,"{31B72D63-51F7-42f1-9A3B-02EB866B3074}"

HKCR,CLSID\{31B72D63-51F7-42f1-9A3B-02EB866B3074},,,"Deli ScanDriver USD"
HKCR,CLSID\{31B72D63-51F7-42f1-9A3B-02EB866B3074}\InProcServer32,,,%10%\%AppDir%\DELISCN_USD.dll
HKCR,CLSID\{31B72D63-51F7-42f1-9A3B-02EB866B3074}\InProcServer32,ThreadingModel,,Both
HKCR,CLSID\{31B72D63-51F7-42f1-9A3B-02EB866B3074}\shellex\ImageProcessingFilter\{D13949C4-4D00-4456-9CF4-E7EA75841A39}
HKCR,CLSID\{31B72D63-51F7-42f1-9A3B-02EB866B3074}\shellex\ErrorHandler\{6A12577E-2BFD-407a-8274-B5C22F4BAD24}

HKCR,CLSID\{D13949C4-4D00-4456-9CF4-E7EA75841A39},,,"Deli ScanDriver Image Processing Filter"
HKCR,CLSID\{D13949C4-4D00-4456-9CF4-E7EA75841A39}\InProcServer32,,,%10%\%AppDir%\DELISCN_ImageFilter.dll
HKCR,CLSID\{D13949C4-4D00-4456-9CF4-E7EA75841A39}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{6A12577E-2BFD-407a-8274-B5C22F4BAD24},,,"Deli ScanDriver Error Handler"
HKCR,CLSID\{6A12577E-2BFD-407a-8274-B5C22F4BAD24}\InProcServer32,,,%10%\%AppDir%\DELISCN_ErrorHandler.dll
HKCR,CLSID\{6A12577E-2BFD-407a-8274-B5C22F4BAD24}\InProcServer32,ThreadingModel,,"Both"

[DestinationDirs]
USDFiles.NT=10,%AppDir%

[USDFiles.NT]
DELISCN_USD.dll
DELISCN_ErrorHandler.dll
DELISCN_ImageFilter.dll
DELISCN_Config.ini

[DeliUninstall.NT]
DelFiles=USDFiles.NT
;DelReg=DeliDelReg

[DeliDelReg]
HKCR,CLSID\{CB19C197-B54F-4064-B94F-73024F2E5F48}
HKCR,CLSID\{D13949C4-4D00-4456-9CF4-E7EA75841A39}
HKCR,CLSID\{6A12577E-2BFD-407a-8274-B5C22F4BAD24}

[Strings]
Mfg="Deli Group"
DeliScnDrv.DeviceDesc="Deli Scanner Driver NW"
AppDir="Deli\DeliScn_NW"
