文件浏览器右侧的预览窗格不能预览doc、docx、xls、xlsx等文件
win7系统 只安装了wps,没有安装微软office ,文件浏览器右侧的预览窗格不能预览doc、docx、xls、xlsx等文件。
查找了好多办法,基本没用
下列办法可以,但有时会失效,希望wps官方尽早解决
创建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:\Program Files (x86)\Kingsoft\WPS Office\11.8.2.12014\office6"