;******************************************************************************/
; INTEL CONFIDENTIAL Copyright 2021 Intel Corporation All Rights Reserved.
;
; The source code contained or described herein and all documents related to
; the source code ("Material") are owned by Intel Corporation or its suppliers
; or licensor. Title to the Material remains with Intel Corporation or its
; suppliers and licensor. The Material contains trade secrets and proprietary
; and confidential information of Intel or its suppliers and licensor.
; The Material is protected by worldwide copyright and trade secret laws and
; treaty provisions. No part of the Material may be used, copied, reproduced,
; modified, published, uploaded, posted, transmitted, distributed,
; or disclosed in any way without Intel's prior express written permission.

; No license under any patent, copyright, trade secret or other intellectual
; property right is granted to or conferred upon you by disclosure or
; delivery of the Materials, either expressly, by implication, inducement,
; estoppal or otherwise. Any license under such intellectual property rights
; must be express and approved by Intel in writing.
;
;
;******************************************************************************/

[Version]
Signature="$Windows NT$"
Class=Firmware
ClassGuid={f2e7dd72-6468-4e36-b6f1-6488f42c1b52}
Provider=%ManufacturerName%
CatalogFile=FwUpdateDriver.cat
DriverVer=11/16/2023,3500.5047.2124.3
PnpLockdown=1 

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
%DeviceName%=FwUpdateDevice_Install, MBFW\{E653A514-CDCC-48F1-9776-FBF841D12F14}

[SourceDisksFiles]
FwUpdateDriver.dll=1
FwPackage.flz=1
;WwanCfg.flz=1
;;

[SourceDisksNames]
1 = %DiskName%

; =================== UMDF Device ==================================

[FwUpdateDevice_Install.NT]
CopyFiles=UMDriverCopy, FirmwareImage_CopyFiles

[FwUpdateDevice_Install.NT.hw]
Addreg=FwUpdateHWReg

[FwUpdateHWReg]
;HKLM, System\CurrentControlSet\Control\Class\%ClassGuid%, FwUpdateCopyFls, %RegTypeDW%, 1
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF\Services\FwUpdateDriver\Parameters, NewFwPackage, %RegTypeDW%, 1 ; 1 = FW_NEW_PACKAGE_COMING

;Dual SIM
HKLM, SOFTWARE\Microsoft\Cellular\MVSettings\DeviceSpecific\CellUX,SlotSelectionSim1Name,%RegTypeStr%,"SIM"
HKLM, SOFTWARE\Microsoft\Cellular\MVSettings\DeviceSpecific\CellUX,SlotSelectionSim2Name,%RegTypeStr%,"eSIM"

;eSIM AID
HKLM, SOFTWARE\Microsoft\Cellular\MVSettings\DeviceSpecific\eSIM\FwUpdate,AllowedAppIdList,%REG_MULTI_SZ%,A000000018308005006563686F00,A000000018308005006563687F00,A00000001850424C,A00000001810010801000000BAFE02,A000000030FF5550,A000000030FF555001,A000000030FF555002,A000000151000000

[FwUpdateDevice_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[FwUpdateDevice_Install.NT.CoInstallers]
AddReg=CoInstallers_AddReg

[FwUpdateDevice_Install.NT.Wdf]
UmdfService=FwUpdateDriver,FwUpdateDriver_Install
UmdfServiceOrder=FwUpdateDriver

[FwUpdateDriver_Install]
UmdfLibraryVersion=2.15.0 
ServiceBinary=%12%\UMDF\FwUpdateDriver.dll
;;DriverCLSID={78e59666-cb00-4755-938f-8bd3e5633a78}

[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys
;

[FirmwareImage_CopyFiles]
FwPackage.flz
;WwanCfg.flz

[CoInstallers_AddReg]
;


[DestinationDirs]
FirmwareImage_CopyFiles=10,WWAN\Firmware ; copy to WWAN\Firmware
UMDriverCopy=12,UMDF ; copy to drivers\umdf


[UMDriverCopy]
FwUpdateDriver.dll

; =================== Generic ==================================

[Strings]
ManufacturerName="Intel Corporation"
DiskName = "FwUpdateDriver Installation Disk"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
DeviceName="Intel 5G Solution 5000 FwUpdateDriver Device"
;ClassGuid="{f2e7dd72-6468-4e36-b6f1-6488f42c1b52}"
RegTypeDW=0x00010001
RegTypeStr = 0x00000000
REG_MULTI_SZ = 0x00010000
;SPSVCINST_OR_START_CLB_SEC=3072
