Windows 10上虽然安装了URL开始菜单项 [英] URL Start menu entry missing on Windows 10 although installed
问题描述
我具有同一应用程序的常规"设置和专业"设置.他们有很多共同点,所以我用
I have a "normal" Setup and a "Pro" Setup of the same application. They have many things in common, so I use an
#include "CommonThings.iss"
两个版本可以并行安装,因为它们具有不同的AppId
.
Both versions can be installed in parallel, because they have a different AppId
.
在一般定义中,我有
[Icons]
Name: {group}\Online documentation; Filename: "http://example.com/"
但其中只有一个显示在Windows开始"菜单中:
but only one of them shows up in the Windows Start menu:
查看下的文件系统
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Example
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Example Pro
在线文档 Internet快捷方式可用于两个程序.
the Online Documentation Internet Shortcut is available for both programs.
在我看来,这似乎是Windows的错误,因为我没有使用安装程序执行任何花哨的工作,所以只需复制一些文件即可.
To me, it seems like a bug of Windows, since I don't do any fancy stuff with my installer, just copy some files.
我尝试过:
- 我没有512个开始菜单项的限制,因为我在没有安装其他应用程序(Windows附带的应用程序除外)的干净Windows 10上测试了我的安装程序.
- 重新启动后问题仍然存在
Inno Setup中是否可以解决此类问题?
Is there a fix possible in Inno Setup for this kind of issue?
推荐答案
我也可以在Windows 10(而不是Windows 7)上重现您的问题.
I can reproduce your problem too on Windows 10 (not on Windows 7).
Windows 10似乎在开始"菜单中过滤了相同的URL.
Windows 10 seems to filter identical URLs form the Start menu.
一种解决方案似乎是使URL唯一,例如通过:
A solution seems to be to make the URLs unique, e.g. by:
[Icons]
Name: {group}\Online documentation; \
Filename: "https://www.example.com/?uniq={#SetupSetting("AppId")}"
不过请注意,在Windows 10准则中,每个应用程序在开始"菜单中放置多个快捷键是违反的.现在,打开的文档和类似文档的链接应仅包含在应用程序本身中.
这篇关于Windows 10上虽然安装了URL开始菜单项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!