zoukankan      html  css  js  c++  java
  • 解决win7官方主题themepack无法安装的问题

    排除系统主题服务的问题后,无法安装themepack文件,问题通常出在文件关联上面,themepack文件使用RUNDLL32.DLL打开,但是不能使用“打开方式”选择,详细的打开方式参数如下:

    %SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@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\FileExts\.theme

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.themepack
     
  • 相关阅读:
    3个月不发工资,拖延转正?2天跳槽软件测试成功,9.5k他不香吗!
    软件测试面试题汇总,(测试技术+人力资源+进阶规划)含2020面试题和答案总结
    selenuim常用api
    JS中的函数
    selenium中Xpath标签定位和cssSelectors定位(优先用cssSelectors)
    dom:文档对象模型,提供的api去操作页面上的元素
    JS中条件判断语句
    JS数据类型及常用操作
    css常用属性之绝对定位、相对定位、滚动条属性、背景图属性、字体、鼠标、超链接跳转页面
    css常用属性:居中展示、内边距、外边距
  • 原文地址:https://www.cnblogs.com/qlight/p/2198241.html
Copyright © 2011-2022 走看看