转:使 WPS 个人版 支持文件管理器中预览窗格 ,希望wps官方能实现此功能
使 WPS 个人版 支持文件管理器中预览窗格
WPS 专业版,*.doc,*.xls,*.ppt等文档支持 Win 文件管理器预览窗格预览。但是,个人版默认不支持预览。
创建inf文件并导入注册表项
注意:
创建并保存inf文件为ANSI编码。(Win11 默认保存为 UTF-8)
根据实际情况修改WPS_PATH中 WPS 程序路径。
根据实际 WPS 的窗口管理模式情况修改窗口管理模式,默认为整合模式,可改为多组件模式。
右键安装即可。
每次更新 WPS 后,均需要再次修改路径并再次安装。
每次修改 WPS 的窗口管理模式后,均需要再次修改窗口管理模式并再次安装。
恢复 WPS 个人版的文件管理器中预览功能.inf
[Version]
Signature="$Windows NT$"
[DefaultInstall]
AddReg=WPS_AddReg
[WPS_AddReg]
HKCR,".doc\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}"
HKCR,".docm\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}"
HKCR,".docx\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}"
HKCR,".dot\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}"
HKCR,".dotx\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}"
HKCR,".rtf\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}"
HKCR,".wps\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}"
HKCR,".wpsx\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}"
HKCR,".wpt\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}"
HKCR,"WOW6432Node\CLSID\{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}",,,"WPS文字 预览器"
HKCR,"WOW6432Node\CLSID\{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}","DisplayName",,"WPS文字 预览器"
HKCR,"WOW6432Node\CLSID\{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}","DisableLowILProcessIsolation",0x10001,01,00,00,00
HKCR,"WOW6432Node\CLSID\{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}\InprocHandler32",,,"ole32.dll"
; 多组件模式 /
HKCR,"WOW6432Node\CLSID\{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}\LocalServer32",,,"""%WPS_PATH%\wps.exe"" /Preview"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers","{0C7FEF07-DCD9-4120-9647-D1CE32F289CD}",,"WPS文字 预览器"
HKCR,".csv\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{E260F96C-8EF4-4C24-A2B9-455F1D116531}"
HKCR,".et\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{E260F96C-8EF4-4C24-A2B9-455F1D116531}"
HKCR,".ett\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{E260F96C-8EF4-4C24-A2B9-455F1D116531}"
HKCR,".etx\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{E260F96C-8EF4-4C24-A2B9-455F1D116531}"
HKCR,".xls\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{E260F96C-8EF4-4C24-A2B9-455F1D116531}"
HKCR,".xlsb\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{E260F96C-8EF4-4C24-A2B9-455F1D116531}"
HKCR,".xlsm\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{E260F96C-8EF4-4C24-A2B9-455F1D116531}"
HKCR,".xlsx\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{E260F96C-8EF4-4C24-A2B9-455F1D116531}"
HKCR,".xlt\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{E260F96C-8EF4-4C24-A2B9-455F1D116531}"
HKCR,".xltx\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{E260F96C-8EF4-4C24-A2B9-455F1D116531}"
HKCR,"WOW6432Node\CLSID\{E260F96C-8EF4-4C24-A2B9-455F1D116531}",,,"WPS表格 预览器"
HKCR,"WOW6432Node\CLSID\{E260F96C-8EF4-4C24-A2B9-455F1D116531}","DisplayName",,"WPS表格 预览器"
HKCR,"WOW6432Node\CLSID\{E260F96C-8EF4-4C24-A2B9-455F1D116531}","DisableLowILProcessIsolation",0x10001,01,00,00,00
HKCR,"WOW6432Node\CLSID\{E260F96C-8EF4-4C24-A2B9-455F1D116531}\InprocHandler32",,,"ole32.dll"
; 多组件模式 /
HKCR,"WOW6432Node\CLSID\{E260F96C-8EF4-4C24-A2B9-455F1D116531}\LocalServer32",,,"""%WPS_PATH%\et.exe"" /Preview"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers","{E260F96C-8EF4-4C24-A2B9-455F1D116531}",,"WPS表格 预览器"
HKCR,".pot\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{A1BBCFD9-B54C-443D-BC56-0BC3840120DB}"
HKCR,".potx\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{A1BBCFD9-B54C-443D-BC56-0BC3840120DB}"
HKCR,".pps\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{A1BBCFD9-B54C-443D-BC56-0BC3840120DB}"
HKCR,".ppsx\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{A1BBCFD9-B54C-443D-BC56-0BC3840120DB}"
HKCR,".ppt\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{A1BBCFD9-B54C-443D-BC56-0BC3840120DB}"
HKCR,".pptx\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}",,,"{A1BBCFD9-B54C-443D-BC56-0BC3840120DB}"
HKCR,"WOW6432Node\CLSID\{A1BBCFD9-B54C-443D-BC56-0BC3840120DB}",,,"WPS演示 预览器"
HKCR,"WOW6432Node\CLSID\{A1BBCFD9-B54C-443D-BC56-0BC3840120DB}","DisplayName",,"WPS演示 预览器"
HKCR,"WOW6432Node\CLSID\{A1BBCFD9-B54C-443D-BC56-0BC3840120DB}","DisableLowILProcessIsolation",0x10001,01,00,00,00
HKCR,"WOW6432Node\CLSID\{A1BBCFD9-B54C-443D-BC56-0BC3840120DB}\InprocHandler32",,,"ole32.dll"
; 多组件模式 /
HKCR,"WOW6432Node\CLSID\{A1BBCFD9-B54C-443D-BC56-0BC3840120DB}\LocalServer32",,,"""%WPS_PATH%\wpp.exe"" /Preview"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers","{A1BBCFD9-B54C-443D-BC56-0BC3840120DB}",,"WPS演示 预览器"
[Strings]
WPS_PATH = "C:\Users\001\AppData\Local\kingsoft\WPS Office\12.1.0.19298\office6"