大网数据广告活动
安装更新与部署

ICE50

· 52CE 我爱测

ICE50 checks that shortcut icons are specified to display correctly and match their target file's extension.

ICE50 checks that shortcut icons are specified to display correctly and match their target file's extension.

Result

ICE50 posts an error message if the extension of the icon and target files do not match. ICE50 posts a warning if icons are stored in files that do not have an .exe or .ico extension.

Example

ICE50 reports the following error for the example shown.

ICE50 error or warning Description
The extension of Icon 'Icon2.dat' for Shortcut 'Shortcut2' does not match the extension of the Key File for component 'Component2'. If the extensions of the icon and the target file do not match, the shortcut will not have the correct context menu when the component is advertised. To fix this error, rename the icon to match the extension of the target file.
The extension of Icon 'Icon1.bat' for Shortcut 'Shortcut1' is not "exe" or "ico". The Icon will not be displayed correctly. Not all versions of the shell correctly display icons stored in files that do not have extensions of "exe" or "ico". To fix this warning, rename the icon have an extension of "exe" or "ico".

File Table (partial)

File FileName
File1 File1.bat
File2 File2.pl

Feature Table (partial)

Feature
Feature1

Component Table (partial)

Component KeyPath
Component1 File1
Component2 File2

Icon Table

Name Data
Icon1.bat [Binary Data]
Icon2.dat [Binary Data]

Shortcut Table (partial)

Shortcut Component Target Icon_
Shortcut1 Component1 Feature1 Icon1.bat
Shortcut2 Component2 Feature1 Icon2.dat

Related topics

ICE Reference

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。