7

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...

Here is the value for DefaultGroupName:

DefaultGroupName={#MyAppPublisher}\MyCompany\MySoftwareName

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.

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.

4

4 回答 4

7

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

例如,它不会显示指向同一个目标的两个快捷方式,无论快捷方式是否具有不同的标签或放置在不同的菜单文件夹中。

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

无论如何,您正在尝试做的是违反 Windows 准则:

  • 您不应在 Windows 8 和更新版本中使用开始菜单文件夹。
  • 您不应在任何版本的 Windows 上将卸载程序的快捷方式添加到“开始”菜单。用户应该去控制面板设置应用程序来卸载程序(这也是一个可能的解释,为什么没有显示快捷方式)。
于 2016-09-07T13:57:53.397 回答
0

我有同样的问题。在我的情况下,有时只有 Windows 开始菜单中的卸载快捷方式消失。

我以某种方式修复了它。

只需在图标部分中使用该命令两次创建此快捷方式。他们的名字需要不同。

例如:

Name: "{group}\{#Uninstall_Name} {#MyAppName}"; Filename: "{uninstallexe}";IconFilename: {app}\{#IconFileStartDesktop};

Name: "{group}\{#MyAppName} {#Uninstall_Name}"; Filename: "{uninstallexe}" ;IconFilename: {app}\{#IconFileStartDesktop};

如果第一个卸载快捷方式未显示,则第二个将执行此操作。

于 2018-02-13T16:28:53.100 回答
-1
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}

只需插入命令两次..完成:)

于 2019-09-25T09:13:39.077 回答
-1

对小组和 INNO 来说都是新手。:)

我想出了一个解决方法,在开始菜单中有一个卸载条目。

[Icons]

Name: "{group}\{cm:UninstallProgram,{#MyAppNameShort}}"; Filename: "{#MyUninstallFilesDir}\unins000.exe"; Tasks: startmenu

对 EXE 进行硬编码并不优雅,但它可以在Win10 64-bit. 我的更新计划是卸载 Access 前端,不理会后端,然后只重新安装前端。

(理论上...)

罗伯特:)

于 2017-02-15T04:27:17.863 回答