由 VB.Net WinForms ClickOnce 安装创建的快捷方式没有目标选项卡
我已经接管了对 VB.Net WinForms 应用程序的支持。当通过 ClickOnce 安装来安装此应用程序时,它会在桌面上生成一个快捷方式。但令人烦恼的是,如果您右键单击创建的快捷方式并设置属性,很明显它不是常规快捷方式,因为它没有目标选项卡,因此从快捷方式中并不明显该快捷方式所引用的属性。所以我与此相关的问题是:这种捷径背后的想法是什么?为什么此类快捷方式的目标被隐藏? (它们到底叫什么?这是我第一次看到 ClickOnce 安装,所以当我发现属性选项卡丢失时,我感到有些惊讶。)如何找出快捷方式引用的可执行文件?
I have taken over support for a VB.Net WinForms application. When this application is installed via a ClickOnce installation it generates a shortcut on the desktop. The annoying thing, though, is that if you do a right click and properties on the shortcut that was created, it is clear that it is not a regular shortcut as it does not have a target tab, so it is not obvious from the shortcut properties what this shortcut is referencing. So my questions relating to this are: what is the idea behind this kind of shortcut? Why is the the target for this type of shortcut hidden? (What are they even called? This is the first time I have ever seen a ClickOnce installation, so was somewhat surprised when I found that the properties tab was missing.) How do you find out what executable is being referenced by the shortcut?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
ClickOnce 快捷方式 - 例如 由 .Net 安装程序创建的快捷方式程序 - 是“公布的快捷方式,其中操作系统在运行程序之前验证程序 - 并在必要时对其运行 MSI 修复。无法从快捷方式确定目标 .exe。
ClickOnce shortcuts - like those created by .Net setup programs - are 'advertised shortcuts', where the operating system validates the program before running it - and, if necessary, runs a MSI Repair on it. There's no way to determine the target .exe from the shortcut.
该快捷方式是“广告快捷方式”,如所述在这里。
为了找出快捷方式引用的可执行文件,请执行以下操作:
然后壁...
The shortcut is an "Advertised shortcut" as described here.
In order to find out what executable is being referenced by the shortcut do the following:
And walla...