Vista theme prompts visual style error solution

  
During this time, I often see a friend asking "Why can't the downloaded theme be used? Prompt visual style error".
After reviewing, the three files (Shsvcs.dll, Uxtheme.dll, Themeui.dll) that need to be changed by the custom theme are all correct, and the version numbers are normal. In fact, as early as some time ago, some Vista third-party themes were downloaded and could not be used in the theme directory. So where is the problem?
After studying many third-party topics, it is unintentional to find that the language package file name corresponding to the theme language file does not match the theme file name, which is one reason why the theme cannot be used. Taking Aero Clear, which I am using as an example, the visual style file under the theme folder is called Aero Clear.msstyles, and the language file in the corresponding language pack (en-US or zh-CN) is Aero.msstyles. This caused Windows to not read the correct language file when loading the theme (in the case of Aero Clear.msstyles.mui instead of Aero.msstyles.mui), causing the theme to fail to load. Why can I load it before I install the update? The reason is that Windows caches these language files. When loading the theme, you don't need to read the corresponding language data from aero.msstyles.mui, so there is no problem with the use.
The correct solution is to enter the corresponding language folder and rename aero.msstyles.mui to the file name corresponding to the visual style. In the case of Aero Clear, rename aero.msstyles.mui to Aero Clear.msstyles.mui, then re-open "Personalization" and select the theme that needs to be replaced. So, there is no question of Microsoft's fight against third-party themes. The attached image below is a third-party enabled theme (note the glass effect) that is normally enabled after the update is installed.
To sum up, the reason for this is the Windows Vista Multilingual Mechanism (MUI). In Vista, the principle of MUI is to search for the current language version of the folder by default (Chinese version is zh-CN). If it is not found or the MUI file under the folder does not match, then the corresponding file in the en-US folder is further. If the corresponding file under en-US no longer matches, the loading fails. If you find that the theme fails to load, try creating a zh-CN folder and copying the file with the same name under en-US.
Therefore, when you make a theme in the complete DIY-Windows Vista theme making incomplete tutorial tutorial, you must ensure that the theme theme file, msstyles file, and the file name of the mui file in zh-cn or en-us are the same. of.

Copyright © Windows knowledge All Rights Reserved