本帖最后由 sairen139 于 2022-11-3 08:19 编辑
所有pe先添加图片缩略图功能再添加Alt+P快捷键调出的右侧预览窗格看图功能教程分步做
本教程为原生资源管理器或者仅含winxshell无explorer.exe的pe拥有缩略图功能和预览窗格功能的最少依赖文件和注册表片段:
第一步:无中生有winxshell搞出类原生资源管理器
原生资源管理器大家都知道略过,重点说WinXShell的逻辑先找有没有配置第三方文件管理器,如果没有配置第三方文件管理器那么双击桌面的此电脑就会默认打开一个类原生资源管理器!
该管理器的依赖的pe核心文件如下:
需要一个28k的字体文件marlett.ttf可以让界面上的小三角符号正常显示出来。
离线集成到pe里就挂载pe里的config文件夹里的software注册表配置单元文件名为pe-software名字,然后双击离线导入类资源管理器.reg,卸载配置单元即保存了注册表片段后覆盖掉software注册表文件即可!
注意88mb的骨头网络版pe里想要使用另存为的打开文件浏览框功能需要另外添加shellstyle.dll(和SystemResources里shellstyle.dll.mun其实这mum资源文件非必需)才能正常出现文件夹浏览窗口!
以上对键盘操作已经足够。
如果还要再加上ExplorerFrame.dll(仅需SystemResources里ExplorerFrame.dll.mun文件)另存为时左边导航窗口和上面的地址栏才会出现,对应需要导入pe的注册表文件如下:
Windows Registry Editor Version 5.00
;explorerframe.dll
[HKEY_LOCAL_MACHINE\pe-SOFTWARE\Classes\CLSID\{056440FD-8568-48e7-A632-72157243B55B}]
@="Explorer Navigation Bar"
[HKEY_LOCAL_MACHINE\pe-SOFTWARE\Classes\CLSID\{056440FD-8568-48e7-A632-72157243B55B}\InProcServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,65,00,78,00,\
70,00,6c,00,6f,00,72,00,65,00,72,00,66,00,72,00,61,00,6d,00,65,00,2e,00,64,\
00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"
[HKEY_LOCAL_MACHINE\pe-SOFTWARE\Classes\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}]
@="Shell Name Space ListView"
[HKEY_LOCAL_MACHINE\pe-SOFTWARE\Classes\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}\InProcServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,65,00,78,00,\
70,00,6c,00,6f,00,72,00,65,00,72,00,66,00,72,00,61,00,6d,00,65,00,2e,00,64,\
00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"
;@="X:\\Windows\\system32\\explorerframe.dll"
第二步:给原生资源管理器和winxshell自带的类原生资源管理器添加图片缩略图功能步骤如下所示
用7zip给pe的system32文件夹添加两个dll文件,也就是PhotoMetadataHandler.dll文件和thumbcache.dll文件。然后用7zip把原pe里system32文件夹下config文件夹里的software注册表配置文件解压到桌面上,然后regedit注册表编辑器挂载成pe-software导入下面的注册表片段再卸载上载后覆盖掉pe里的原software注册表配置文件即可。具体离线导入pe的注册表内容如下所示:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\pe-SOFTWARE\Classes\CLSID\{a38b883c-1682-497e-97b0-0a3a9e801682}]
@="IPropertyStore Handler for Images"
"ManualSafeSave"=dword:00000001
[HKEY_LOCAL_MACHINE\pe-SOFTWARE\Classes\CLSID\{a38b883c-1682-497e-97b0-0a3a9e801682}\InProcServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,50,00,68,00,\
6f,00,74,00,6f,00,4d,00,65,00,74,00,61,00,64,00,61,00,74,00,61,00,48,00,61,\
00,6e,00,64,00,6c,00,65,00,72,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Both"
[HKEY_LOCAL_MACHINE\pe-SOFTWARE\Classes\CLSID\{C7657C4A-9F68-40fa-A4DF-96BC08EB3551}]
@="Photo Thumbnail Provider"
[HKEY_LOCAL_MACHINE\pe-SOFTWARE\Classes\CLSID\{C7657C4A-9F68-40fa-A4DF-96BC08EB3551}\InProcServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,50,00,68,00,\
6f,00,74,00,6f,00,4d,00,65,00,74,00,61,00,64,00,61,00,74,00,61,00,48,00,61,\
00,6e,00,64,00,6c,00,65,00,72,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Both"
[HKEY_LOCAL_MACHINE\pe-SOFTWARE\Classes\SystemFileAssociations\image\shellex\{e357fccd-a995-4576-b01f-234630154e96}]
@="{C7657C4A-9F68-40fa-A4DF-96BC08EB3551}"
[HKEY_LOCAL_MACHINE\pe-SOFTWARE\Classes\CLSID\{50EF4544-AC9F-4A8E-B21B-8A26180DB13F}\InprocServer32]
@="X:\\Windows\\System32\\thumbcache.dll"
"ThreadingModel"="Apartment"
[HKEY_LOCAL_MACHINE\pe-software\Classes\CLSID\{3F30C968-480A-4C6C-862D-EFC0897BB84B}\InProcServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,50,00,68,00,\
6f,00,74,00,6f,00,4d,00,65,00,74,00,61,00,64,00,61,00,74,00,61,00,48,00,61,\
00,6e,00,64,00,6c,00,65,00,72,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Both"
[HKEY_LOCAL_MACHINE\pe-software\Classes\SystemFileAssociations\image\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{3F30C968-480A-4C6C-862D-EFC0897BB84B}"
[HKEY_LOCAL_MACHINE\pe-SOFTWARE\Classes\Interface\{E357FCCD-A995-4576-B01F-234630154E96}\ProxyStubClsid32] @="{95E15D0A-66E6-93D9-C53C-76E6219D3341}"
第三步:再继续给原生资源管理器和winxshell自带的类原生资源管理器增加右侧预览窗格看图功能
类原生资源管理器的右侧预览窗口能看图需要补充下面三个文件:
精简SystemResources文件夹里的imagers.dll.mun 3.8mb(只留下图片资源)可以精简到200k比较小
Actxprxy.dll依赖文件622k比较小
capisp.dll依赖文件26k非常小
离线挂载software注册表配置文件为pe-software开启预览窗格看图.reg内容如下 Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\pe-software\Classes\CLSID\{4db26476-6787-4046-b836-e8412a9e8a27}]
@="Shared Bitmap Object"
[HKEY_LOCAL_MACHINE\pe-software\Classes\CLSID\{4db26476-6787-4046-b836-e8412a9e8a27}\InprocServer32]
@="X:\\Windows\\System32\\thumbcache.dll"
"ThreadingModel"="Both"
[HKEY_LOCAL_MACHINE\pe-software\Classes\CLSID\{C90250F3-4D7D-4991-9B69-A5C5BC1C2AE6}]
@="PSFactoryBuffer"
[HKEY_LOCAL_MACHINE\pe-software\Classes\CLSID\{C90250F3-4D7D-4991-9B69-A5C5BC1C2AE6}\InProcServer32]
@="X:\\Windows\\System32\\ActXPrxy.dll"
"ThreadingModel"="Both"
[HKEY_LOCAL_MACHINE\pe-software\Classes\Interface\{35BD3360-1B35-4927-BAE4-B10E70D99EFF}]
@="IFrameTaskManager"
[HKEY_LOCAL_MACHINE\pe-software\Classes\Interface\{35BD3360-1B35-4927-BAE4-B10E70D99EFF}\ProxyStubClsid32]
@="{C90250F3-4D7D-4991-9B69-A5C5BC1C2AE6}"
以上就是给19041.1的八十mb的骨头网络版pe添加图片缩略图功能再添加Alt+P快捷键调出的右侧预览窗格看图功能分步做的完整过程!
|