; Copyright (C), Intel Corporation. All rights reserved. 
; ********************************************************************************************** 
; **    Filename:  iaStorPinningComponent.inf
; **    Revision:  09/19/2022,18.7.6.1010
; **    Abstract:  Intel Intel(R) Rapid Storage Technology Pinning Shell Extensions component.
; **               It installs Windows Shell plugins that support Optane Pinning feature.
; ********************************************************************************************** 
[Version] 
Signature="$Windows NT$" 
Provider= %INTEL% 
Class       = SoftwareComponent
ClassGuid   = {5c4c3332-344d-483c-8739-259e934c9cc8}
CatalogFile = iaStorPinningComponent.cat
DriverVer = 09/19/2022,18.7.6.1010
PnpLockDown=1

;*************************************
;* Source files and copy sections
;*************************************
[DestinationDirs]
DefaultDestDir = 13

[SourceDisksNames] 
1 = %DiskId1%,,,"" 

[SourceDisksFiles.amd64]
iaStorAfsServiceApi.dll = 1,,,
OptaneShellExt.dll = 1,,,
PinningServiceApi.dll = 1,,,
SharpShell.dll = 1,,,
SharpShellLicense.txt = 1,,,

[Manufacturer] 
%INTEL% = INTEL, ntamd64.10.0...15063

;******************************************************************************
;*
;* 64-BIT X86_64 ARCHITECTURE
;*
;******************************************************************************

[INTEL.ntamd64.10.0...15063]
%PinningShellExt.DisplayName% = PinningShellExt_install, SWC\VID8086&SW_RstShellExtensions
%PinningShellExt.DisplayName% = PinningShellExt_install, SWC\VID8086&PID2822&SID0001

[PinningShellExt_install.ntamd64]
CopyFiles=@iaStorAfsServiceApi.dll
CopyFiles=@OptaneShellExt.dll
CopyFiles=@PinningServiceApi.dll
CopyFiles=@SharpShell.dll
CopyFiles=@SharpShellLicense.txt
AddReg=ContextMenu_addreg
AddReg=OverlayIcon_addreg

[PinningShellExt_install.ntamd64.Services]
AddService = , %SPSVCINST_ASSOCSERVICE%

[ContextMenu_addreg]
HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB},,,Intel.Optane.Pinning.ShellExt.OptaneContextMenu
HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB}\ProgId,,,Intel.Optane.Pinning.ShellExt.OptaneContextMenu
HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB}\InprocServer32,,,mscoree.dll
HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB}\InprocServer32,ThreadingModel,,Both
HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB}\InprocServer32,Class,,Intel.Optane.Pinning.ShellExt.OptaneContextMenu
HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB}\InprocServer32,Assembly,,"OptaneShellExt, Culture=neutral, PublicKeyToken=b2b395177cd09cef"
HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB}\InprocServer32,RuntimeVersion,,v4.0.30319
HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB}\InprocServer32,CodeBase,,%13%\OptaneShellExt.dll
HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB}\Implemented Categories\{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}
HKCR,Intel.Optane.Pinning.ShellExt.OptaneContextMenu\CLSID,,,{AD7EBB13-617D-3270-8FA8-46583499C4FB}
HKCR,Intel.Optane.Pinning.ShellExt.OptaneContextMenu,,,Intel.Optane.Pinning.ShellExt.OptaneContextMenu
HKCR,AllFilesystemObjects\shellex\ContextMenuHandlers\OptaneContextMenu,,,{AD7EBB13-617D-3270-8FA8-46583499C4FB}
HKLM,Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved,{AD7EBB13-617D-3270-8FA8-46583499C4FB},,OptaneContextMenu

HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB}\InprocServer32\18.7.6.1010,Class,,Intel.Optane.Pinning.ShellExt.OptaneContextMenu
HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB}\InprocServer32\18.7.6.1010,Assembly,,"OptaneShellExt, Culture=neutral, PublicKeyToken=b2b395177cd09cef"
HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB}\InprocServer32\18.7.6.1010,RuntimeVersion,,v4.0.30319
HKCR,CLSID\{AD7EBB13-617D-3270-8FA8-46583499C4FB}\InprocServer32\18.7.6.1010,CodeBase,,%13%\OptaneShellExt.dll


[OverlayIcon_addreg]
HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9},,,Intel.Optane.Pinning.ShellExt.OptaneIconOverlay
HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}\ProgId,,,Intel.Optane.Pinning.ShellExt.OptaneIconOverlay
HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}\InprocServer32,,,mscoree.dll
HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}\InprocServer32,ThreadingModel,,Both
HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}\InprocServer32,Class,,Intel.Optane.Pinning.ShellExt.OptaneIconOverlay
HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}\InprocServer32,Assembly,,"OptaneShellExt, Culture=neutral, PublicKeyToken=b2b395177cd09cef"
HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}\InprocServer32,RuntimeVersion,,v4.0.30319
HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}\InprocServer32,CodeBase,,%13%\OptaneShellExt.dll
HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}\Implemented Categories\{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}
HKCR,Intel.Optane.Pinning.ShellExt.OptaneIconOverlay\CLSID,,,{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}
HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\  OptaneIconOverlay,,,{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}
HKLM,Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved,{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9},,OptaneIconOverlay

HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}\InprocServer32\18.7.6.1010,Class,,Intel.Optane.Pinning.ShellExt.OptaneIconOverlay
HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}\InprocServer32\18.7.6.1010,Assembly,,"OptaneShellExt, Culture=neutral, PublicKeyToken=b2b395177cd09cef"
HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}\InprocServer32\18.7.6.1010,RuntimeVersion,,v4.0.30319
HKCR,CLSID\{A3AF6F6C-8BED-3D93-8B5D-33427B5D38E9}\InprocServer32\18.7.6.1010,CodeBase,,%13%\OptaneShellExt.dll

[Strings] 
diskId1 = "RST Installation Disk"
INTEL = "Intel Corporation"
PinningShellExt.DisplayName                      = "Intel(R) Optane(TM) Pinning Shell Extensions"
SPSVCINST_ASSOCSERVICE = 0x00000002
