;
; LITSDrv.inf
;
; Installation file for the "Lenovo Intelligent Thermal Solution Driver"
;
; Copyright (C) Lenovo 2020.
;

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%ProviderName%
DriverVer=09/02/2020,1.00.01.359
CatalogFile=LITSDRV.cat

[SourceDisksNames]
1 = %DiskName%,,,""
2 = %DiskName1803%,,,\1803
3 = %DiskName1809%,,,\1809

[SourceDisksFiles]
LITSDrv.inf=1

[SourceDisksFiles.amd64]
LITSSvc1803.exe=2
LITSSvc1809.exe=3
ITSMessageHelper.dll=1,msg
ITSMessage.exe=1,msg
Lenovo.png=1,msg
Resources.SA.dll=1,msg\ar
Resources.CZ.dll=1,msg\cs
Resources.DK.dll=1,msg\da
Resources.DE.dll=1,msg\de
Resources.GR.dll=1,msg\el
Resources.ES.dll=1,msg\es
Resources.FI.dll=1,msg\fi
Resources.FR.dll=1,msg\fr
Resources.IL.dll=1,msg\he
Resources.HR.dll=1,msg\hr
Resources.HU.dll=1,msg\hu
Resources.IT.dll=1,msg\it
Resources.JP.dll=1,msg\ja
Resources.KR.dll=1,msg\ko
Resources.NO.dll=1,msg\nb
Resources.NL.dll=1,msg\nl
Resources.PL.dll=1,msg\pl
Resources.BR.dll=1,msg\pt-BR
Resources.PT.dll=1,msg\pt
Resources.RO.dll=1,msg\ro
Resources.RU.dll=1,msg\ru
Resources.SK.dll=1,msg\sk
Resources.SI.dll=1,msg\sl
Resources.SR.dll=1,msg\sr-Latn
Resources.SE.dll=1,msg\sv
Resources.TR.dll=1,msg\tr
Resources.UA.dll=1,msg\uk
Resources.CN.dll=1,msg\zh-CN
Resources.TW.dll=1,msg\zh-TW

[DestinationDirs]
DefaultDestDir = 12
ITSService_File_1803 = 11
ITSService_File_1809 = 11
LenovoITSService_DelFiles = 11
LenovoITSToast = 11,icmsg
SA = 11,icmsg\ar
CZ = 11,icmsg\cs
DK = 11,icmsg\da
DE = 11,icmsg\de
GR = 11,icmsg\el
ES = 11,icmsg\es
FI = 11,icmsg\fi
FR = 11,icmsg\fr
IL = 11,icmsg\he
HR = 11,icmsg\hr
HU = 11,icmsg\hu
IT = 11,icmsg\it
JP = 11,icmsg\ja
KR = 11,icmsg\ko
NO = 11,icmsg\nb
NL = 11,icmsg\nl
PL = 11,icmsg\pl
BR = 11,icmsg\pt-BR
PT = 11,icmsg\pt
RO = 11,icmsg\ro
RU = 11,icmsg\ru
SK = 11,icmsg\sk
SI = 11,icmsg\sl
SR = 11,icmsg\sr-Latn
SE = 11,icmsg\sv
TR = 11,icmsg\tr
UA = 11,icmsg\uk
CN = 11,icmsg\zh-CN
TW = 11,icmsg\zh-TW

[Manufacturer]
%ProviderName% = LenovoITS,NTamd64.10.0,NTamd64.10.0...17763

;==========================================
; RS4 or before
;==========================================
[LenovoITS.NTamd64.10.0]
%DeviceName% = LenovoITS_Ins.NTamd64.10.0, ACPI\LEN0100

[LenovoITS_Ins.NTamd64.10.0]
CopyFiles = ITSService_File_1803,LenovoITSToast,SA,CZ,DK,DE,GR,ES,FI,FR,IL,HR,HU,IT,JP,KR,NO,NL,PL,BR,PT,RO,RU,SK,SI,SR,SE,TR,UA,CN,TW

[ITSService_File_1803]
LITSSvc.exe,LITSSvc1803.exe,,2

[LenovoITS_Ins.NTamd64.10.0.Services]
AddService = ,2,,
AddService = LITSSVC, 0x00000800, LenovoITS_Service_Inst

;==========================================
; RS5 or later
;==========================================
[LenovoITS.NTamd64.10.0...17763]
%DeviceName% = LenovoITS_Ins.NTamd64.10.0...17763, ACPI\LEN0100

[LenovoITS_Ins.NTamd64.10.0...17763]
CopyFiles = ITSService_File_1809,LenovoITSToast,SA,CZ,DK,DE,GR,ES,FI,FR,IL,HR,HU,IT,JP,KR,NO,NL,PL,BR,PT,RO,RU,SK,SI,SR,SE,TR,UA,CN,TW

[ITSService_File_1809]
LITSSvc.exe,LITSSvc1809.exe,,2

[LenovoITS_Ins.NTamd64.10.0...17763.Services]
AddService = ,2,,
AddService = LITSSVC, 0x00000800, LenovoITS_Service_Inst

;==========================================
; Uninstall
;==========================================
[DefaultUninstall]
DelFiles = LenovoITSService_DelFiles

[DefaultUninstall.Services]
DelService = LITSSVC,0x200

[LenovoITSService_DelFiles]
LITSSvc.exe,,,1
LITSDrv.inf,,,1

;==========================================
; Common
;==========================================
[LenovoITS_Service_Inst]
DisplayName    = %ServiceName%		
ServiceType    = 0x10                   ; SERVICE_WIN32_OWN_PROCESS
StartType      = 2                      ; SERVICE_AUTO_START
ErrorControl   = 0                      ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary  = """"%11%\LITSSvc.exe""""
AddReg         = LenovoITS_Config

[LenovoITS_config]
HKR,"IC",,0x00000010,

[LenovoITS_config.security]
"D:AR(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGW;;;BU)"

[LenovoITSToast]
ITSMessage.exe,,,2
Lenovo.png,,,2
ITSMessageHelper.dll,,,2
[SA]
ITSMessage.resources.dll,Resources.SA.dll,,2
[CZ]
ITSMessage.resources.dll,Resources.CZ.dll,,2
[DK]
ITSMessage.resources.dll,Resources.DK.dll,,2
[DE]
ITSMessage.resources.dll,Resources.DE.dll,,2
[GR]
ITSMessage.resources.dll,Resources.GR.dll,,2
[ES]
ITSMessage.resources.dll,Resources.ES.dll,,2
[FI]
ITSMessage.resources.dll,Resources.FI.dll,,2
[FR]
ITSMessage.resources.dll,Resources.FR.dll,,2
[IL]
ITSMessage.resources.dll,Resources.IL.dll,,2
[HR]
ITSMessage.resources.dll,Resources.HR.dll,,2
[HU]
ITSMessage.resources.dll,Resources.HU.dll,,2
[IT]
ITSMessage.resources.dll,Resources.IT.dll,,2
[JP]
ITSMessage.resources.dll,Resources.JP.dll,,2
[KR]
ITSMessage.resources.dll,Resources.KR.dll,,2
[NO]
ITSMessage.resources.dll,Resources.NO.dll,,2
[NL]
ITSMessage.resources.dll,Resources.NL.dll,,2
[PL]
ITSMessage.resources.dll,Resources.PL.dll,,2
[BR]
ITSMessage.resources.dll,Resources.BR.dll,,2
[PT]
ITSMessage.resources.dll,Resources.PT.dll,,2
[RO]
ITSMessage.resources.dll,Resources.RO.dll,,2
[RU]
ITSMessage.resources.dll,Resources.RU.dll,,2
[SK]
ITSMessage.resources.dll,Resources.SK.dll,,2
[SI]
ITSMessage.resources.dll,Resources.SI.dll,,2
[SR]
ITSMessage.resources.dll,Resources.SR.dll,,2
[SE]
ITSMessage.resources.dll,Resources.SE.dll,,2
[TR]
ITSMessage.resources.dll,Resources.TR.dll,,2
[UA]
ITSMessage.resources.dll,Resources.UA.dll,,2
[CN]
ITSMessage.resources.dll,Resources.CN.dll,,2
[TW]
ITSMessage.resources.dll,Resources.TW.dll,,2

[Strings]
ProviderName="Lenovo"
ClassName="System"
DiskName="Lenovo Intelligent Thermal Solution Driver Source"
DiskName1803="Lenovo Intelligent Thermal Solution Driver Source for Windows 10 1803 or before"
DiskName1809="Lenovo Intelligent Thermal Solution Driver Source for Windows 10 1809 or later"
DeviceName = "Lenovo Intelligent Thermal Solution"
ServiceName = "Lenovo Intelligent Thermal Solution Service"
