解决win7官方主题themepack无法安装的问题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
解决win7官方主题themepack无法安装的问题
排除系统主题服务的问题后,无法安装themepack文件,问题通常出在文件关联上面,themepack文件使用RUNDLL32.DLL打开,但是不能使用“打开方式”选择,详细的打开方式参数如下:
%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\shell32.dll,Contr ol_RunDLL %SystemRoot%\system32\desk.cpldesk,@Themes /Action:OpenTheme /file:"%1"
导入如下注册信息即可解决themepack文件的打开关联(记得重启,必要时重建图标缓存)。
修复注册表项如下:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.themepack]
@="themepackfile"
[HKEY_CLASSES_ROOT\themepackfile]
@="Windows Theme Pack"
"FriendlyTypeName"="@themeui.dll,-2685"
[HKEY_CLASSES_ROOT\themepackfile\DefaultIcon]
@=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,74,00,68,00,\ 65,00,6d,00,65,00,75,00,69,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,37,00,30,\ 00,34,00,00,00
[HKEY_CLASSES_ROOT\themepackfile\shell]
[HKEY_CLASSES_ROOT\themepackfile\shell\open]
[HKEY_CLASSES_ROOT\themepackfile\shell\open\command]
@=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,72,00,75,00,\ 6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,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,73,00,68,00,65,00,6c,00,6c,\ 00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,43,00,6f,00,6e,00,74,00,72,00,\
6f,00,6c,00,5f,00,52,00,75,00,6e,00,44,00,4c,00,4c,00,20,00,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,64,00,65,00,73,00,6b,00,2e,00,63,\ 00,70,00,6c,00,20,00,64,00,65,00,73,00,6b,00,2c,00,40,00,54,00,68,00,65,00,\
6d,00,65,00,73,00,20,00,2f,00,41,00,63,00,74,00,69,00,6f,00,6e,00,3a,00,4f,\
00,70,00,65,00,6e,00,54,00,68,00,65,00,6d,00,65,00,20,00,2f,00,66,00,69,00,\
6c,00,65,00,3a,00,22,00,25,00,31,00,22,00,00,00
如果导入以上注册信息后仍然不能双击打开themepack文件,有可能是因为你曾经选择了自定义打开方式造成的,win7默认记住用户自选择的打开方式,并且将其设置为默认优先的打开方式,所以只需要删除以下路径下的user choice文件夹即可(如果存在权限问题,属性修改权限即可)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\File Exts\.theme
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\File Exts\.themepack