;
; hpomencustomcapcomp.inf
;
; Installs the HP Omen Driver Component
;
; Copyright(c) 2017, HP Development Company, L.P.All rights reserved.
; This software contains confidential and proprietary information of HP.
; The user of this software agrees not to disclose, disseminate or copy
; such Confidential Information and shall use the software only in accordance
; with the terms of the license agreement the user entered into with HP.
;

[Version]
Signature           = $Windows NT$
Class               = SoftwareComponent
ClassGuid           = {5c4c3332-344d-483c-8739-259e934c9cc8}
Provider            = %Company%
CatalogFile.ntamd64 = hpomencustomcapcompx64.cat
DriverVer           = 03/16/2023,1.0.812.0

;======================= Device Install Section========================

[DestinationDirs]
EXE.CopyList.ntamd64 = 13, x64\OmenCap
EXE.CopyList.ntamd64_2 = 13, x64\Binaries

[Manufacturer]
%Mfg% = HP, ntamd64

;======================= Device Install x64 Section ========================

[HP.ntamd64]
%DeviceDesc% = hpomencustomcapcomp_Install.ntamd64, SWC\HPIC0004

[hpomencustomcapcomp_Install.ntamd64]
CopyFiles = EXE.CopyList.ntamd64, EXE.CopyList.ntamd64_2

[SourceDisksNames.amd64]
1 = %DiskId%, , , \x64\OmenCap
2 = %DiskId%, , , \x64\Binaries
[SourceDisksFiles.amd64]
AmdRyzenOverclockingService.dll = 1
XtuCommon.dll = 1
concrt140.dll = 1
Device.dll = 1
HIDService.dll = 1
HomeInfoService.dll = 1
HPAnalyticsNativeClientLib.dll = 1
IntelBenchmarkSDK.dll = 1
IntelOverclockingSDK.dll = 1
IntelXTUOverclockingService.dll = 1
Logging.dll = 1
msvcp140.dll = 1
msvcp140_1.dll = 1
msvcp140_2.dll = 1
OmenCap.exe = 1
Platform.dll = 1
ProfileHelperModel.dll = 1
RealtekNetworkingService.dll = 1
RpcClient.Native.dll = 1
SdkWrapperForNativeCode.dll = 1
SQLite.Interop.dll = 1
System.Data.SQLite.dll = 1
vccorlib140.dll = 1
vcruntime140.dll = 1
vcruntime140_1.dll = 1
XtuBenchmark.dll = 1
libiomp5md.dll = 2
linpack_xeon64.exe = 2
p95bench.exe = 2

[EXE.CopyList.ntamd64]
AmdRyzenOverclockingService.dll, , %COPYFLG_FORCE_FILE_IN_USE%
XtuCommon.dll, , %COPYFLG_FORCE_FILE_IN_USE%
concrt140.dll, , %COPYFLG_FORCE_FILE_IN_USE%
Device.dll, , %COPYFLG_FORCE_FILE_IN_USE%
HIDService.dll, , %COPYFLG_FORCE_FILE_IN_USE%
HomeInfoService.dll, , %COPYFLG_FORCE_FILE_IN_USE%
HPAnalyticsNativeClientLib.dll, , %COPYFLG_FORCE_FILE_IN_USE%
IntelBenchmarkSDK.dll, , %COPYFLG_FORCE_FILE_IN_USE%
IntelOverclockingSDK.dll, , %COPYFLG_FORCE_FILE_IN_USE%
IntelXTUOverclockingService.dll, , %COPYFLG_FORCE_FILE_IN_USE%
Logging.dll, , %COPYFLG_FORCE_FILE_IN_USE%
msvcp140.dll, , %COPYFLG_FORCE_FILE_IN_USE%
msvcp140_1.dll, , %COPYFLG_FORCE_FILE_IN_USE%
msvcp140_2.dll, , %COPYFLG_FORCE_FILE_IN_USE%
OmenCap.exe, , %COPYFLG_FORCE_FILE_IN_USE%
Platform.dll, , %COPYFLG_FORCE_FILE_IN_USE%
ProfileHelperModel.dll, , %COPYFLG_FORCE_FILE_IN_USE%
RealtekNetworkingService.dll, , %COPYFLG_FORCE_FILE_IN_USE%
RpcClient.Native.dll, , %COPYFLG_FORCE_FILE_IN_USE%
SdkWrapperForNativeCode.dll, , %COPYFLG_FORCE_FILE_IN_USE%
SQLite.Interop.dll, , %COPYFLG_FORCE_FILE_IN_USE%
System.Data.SQLite.dll, , %COPYFLG_FORCE_FILE_IN_USE%
vccorlib140.dll, , %COPYFLG_FORCE_FILE_IN_USE%
vcruntime140.dll, , %COPYFLG_FORCE_FILE_IN_USE%
vcruntime140_1.dll, , %COPYFLG_FORCE_FILE_IN_USE%
XtuBenchmark.dll, , %COPYFLG_FORCE_FILE_IN_USE%

[EXE.CopyList.ntamd64_2]
libiomp5md.dll, , %COPYFLG_FORCE_FILE_IN_USE%
linpack_xeon64.exe, , %COPYFLG_FORCE_FILE_IN_USE%
p95bench.exe, , %COPYFLG_FORCE_FILE_IN_USE%

[hpomencustomcapcomp_Install.ntamd64.Services]
AddService = , 0x00000002
AddService = HPOmenCap, 0x00000800, HPOmenCap_Service_Inst64, 

[HPOmenCap_Service_Inst64]
DisplayName    = %ServiceOmenDesc%
ServiceType    = 0x00000010
StartType      = %SERVICE_AUTO_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
LoadOrderGroup = "Base"
ServiceBinary  = %13%\x64\OmenCap\OmenCap.exe

;======================= Device Install x86 Section ========================

[HP.ntx86]
%DeviceDesc% = hpomencustomcapcomp_Install.ntx86, SWC\HPIC0004

[hpomencustomcapcomp_Install.ntx86]
CopyFiles = EXE.CopyList.ntx86

[SourceDisksNames.x86]
1 = %DiskId%, , , \x86

[SourceDisksFiles.x86]
concrt140.dll = 1
HIDService.dll = 1
HomeInfoService.dll = 1
IntelBenchmarkSDK.dll = 1
IntelOverclockingSDK.dll = 1
IntelXTUOverclockingService.dll = 1
Logging.dll = 1
msvcp140.dll = 1
msvcp140_1.dll = 1
msvcp140_2.dll = 1
OmenCap.exe = 1
ProfileHelperModel.dll = 1
RealtekNetworkingService.dll = 1
SdkWrapperForNativeCode.dll = 1
vccorlib140.dll = 1
vcruntime140.dll = 1

[EXE.CopyList.ntx86]
concrt140.dll, , %COPYFLG_FORCE_FILE_IN_USE%
HIDService.dll, , %COPYFLG_FORCE_FILE_IN_USE%
HomeInfoService.dll, , %COPYFLG_FORCE_FILE_IN_USE%
IntelBenchmarkSDK.dll, , %COPYFLG_FORCE_FILE_IN_USE%
IntelOverclockingSDK.dll, , %COPYFLG_FORCE_FILE_IN_USE%
IntelXTUOverclockingService.dll, , %COPYFLG_FORCE_FILE_IN_USE%
Logging.dll, , %COPYFLG_FORCE_FILE_IN_USE%
msvcp140.dll, , %COPYFLG_FORCE_FILE_IN_USE%
msvcp140_1.dll, , %COPYFLG_FORCE_FILE_IN_USE%
msvcp140_2.dll, , %COPYFLG_FORCE_FILE_IN_USE%
OmenCap.exe, , %COPYFLG_FORCE_FILE_IN_USE%
ProfileHelperModel.dll, , %COPYFLG_FORCE_FILE_IN_USE%
RealtekNetworkingService.dll, , %COPYFLG_FORCE_FILE_IN_USE%
SdkWrapperForNativeCode.dll, , %COPYFLG_FORCE_FILE_IN_USE%
vccorlib140.dll, , %COPYFLG_FORCE_FILE_IN_USE%
vcruntime140.dll, , %COPYFLG_FORCE_FILE_IN_USE%

[hpomencustomcapcomp_Install.ntx86.Services]
AddService = , 0x00000002
AddService = HPOmenCap, 0x00000800, HPOmenCap_Service_Inst86, 

[HPOmenCap_Service_Inst86]
DisplayName    = %ServiceOmenDesc%
ServiceType    = 0x00000010
StartType      = %SERVICE_AUTO_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
LoadOrderGroup = "Base"
ServiceBinary  = %13%\x86\OmenCap.exe

[Strings]
Mfg = "HP"
DiskId = "Install disk (1)"
Company = "HP Inc."
DeviceDesc = "HP Omen Driver Component"
ServiceOmenDesc = "HP Omen HSA Service"

;
; The "standard" defines
;
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001
SERVICE_BOOT_START = 0x00000000
SERVICE_SYSTEM_START = 0x00000001
SERVICE_AUTO_START = 0x00000002
SERVICE_DEMAND_START = 0x00000003
SERVICE_DISABLED = 0x00000004
SERVICE_ERROR_IGNORE = 0x00000000
SERVICE_ERROR_NORMAL = 0x00000001
SERVICE_ERROR_SEVERE = 0x00000002
SERVICE_ERROR_CRITICAL = 0x00000003
COPYFLG_WARN_IF_SKIP = 0x00000001
COPYFLG_NOSKIP = 0x00000002
COPYFLG_NOVERSIONCHECK = 0x00000004
COPYFLG_FORCE_FILE_IN_USE = 0x00000008
COPYFLG_NO_OVERWRITE = 0x00000010
COPYFLG_NO_VERSION_DIALOG = 0x00000020
COPYFLG_OVERWRITE_OLDER_ONLY = 0x00000040
COPYFLG_REPLACEONLY = 0x00000400
COPYFLG_NODECOMP = 0x00000800
COPYFLG_REPLACE_BOOT_FILE = 0x00001000
COPYFLG_NOPRUNE = 0x00002000
COPYFLG_IN_USE_RENAME = 0x00004000
