Windows 10上没有显示Inno Setup开始菜单卸载快捷方式 [英] Inno Setup Start menu uninstall shortcut is not shown on Windows 10

查看:295
本文介绍了Windows 10上没有显示Inno Setup开始菜单卸载快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在设置中创建的开始"菜单卸载快捷方式似乎有一个特定于Windows 10的问题.快捷方式根本没有显示.
但是,也会显示我创建的其他快捷方式...

I've got an issue that seems to be specific to Windows 10 with the Start menu uninstall shortcut I create in my setup. The shortcut is simply not shown.
However, others shortcuts I create are shown as well...

这是DefaultGroupName的值:

DefaultGroupName={#MyAppPublisher}\MyCompany\MySoftwareName

这是我在[Icons]部分中的快捷方式条目:

Here are my entries for shortcuts in [Icons] section:

[Icons]
Name: "{group}\{#MyAppName} {#MyAppVersion}"; Filename: "{app}\MyExeName.exe"; WorkingDir: "{app}"
Name: "{commondesktop}\{#MyAppName} {#MyAppVersion}"; Filename: "{app}\MyExeName.exe"; WorkingDir: "{app}"; IconFilename: "{app}\MyExeName.exe"
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName} {#MyAppVersion}"; Filename: "{app}\MyExeName.exe"; WorkingDir: "{app}"; Tasks: quicklaunchicon
Name: "{group}\{cm:UninstallProgram, {#MyAppName} {#MyAppVersion}}"; Filename: "{uninstallexe}"; WorkingDir: "{app}"; IconFilename: "{app}\Remove.ico"
Name: "{group}\{cm:SHORTCUT_SAV}"; Filename: "{code:GetDataDir}"

我也尝试了一个简单的条目:

I've tried a simple entry too:

Name: "{group}\Uninstall My Program"; Filename: "{uninstallexe}"

但是快捷方式仍然没有显示.

But shortcut is still not shown.

请注意,这在任何早期版本的Windows中都可以正常运行...

Note that this works fine in any previous version of Windows...

您对此有任何想法吗?我已经搜索过,但是没有找到与此特定问题相关的任何主题.

Do you have any idea on this? I've search but I have not found any topic related to this specific problem.

推荐答案

Windows 8和更高版本对开始" 菜单进行了大量优化,以减少显示的项目数.

Windows 8 and newer employs lots of optimizations to the Start menu to reduce number of items shown.

例如,无论快捷方式具有不同的标签还是位于不同的菜单文件夹中,它都不会显示两个指向同一目标的快捷方式.

For example it won't display two shortcuts pointing to the same target, no matter, if the shortcuts have different labels or are placed in different menu folders.

您可能是这种优化的受害者.

You are probably a victim of such optimization.

无论如何,您要执行的操作违反Windows准则:

Anyway, what you are trying to do is against Windows guidelines:

  • 在Windows 8和更高版本中,您不应使用开始菜单文件夹.
  • 在任何版本的Windows上,都不应该将卸载程序的快捷方式添加到开始菜单.用户应转到控制面板设置应用程序以卸载程序(这也是一个可能的解释,为什么不显示快捷方式).
  • You should not use Start menu folders in Windows 8 and newer.
  • You should not add a shortcut to an uninstaller to the Start menu, on any version of Windows. The user should go to Control panel or Settings app to uninstall a program (that's also a possible explanation, why the shortcut is not shown).

这篇关于Windows 10上没有显示Inno Setup开始菜单卸载快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆