Windows安装程序“发送到”所有用户的菜单项(Windows installer 'send to' menu item for all users)

编程入门 行业动态 更新时间:2024-10-25 07:21:00
Windows安装程序“发送到”所有用户的菜单项(Windows installer 'send to' menu item for all users)

我使用visual studio应用程序安装程序在最终用户计算机上部署我的应用程序。 在安装项目中,我需要在用户的“发送到”菜单项中添加应用程序exe文件的快捷方式。

现在问题是我需要为所有用户安装“发送到”快捷方式,而不仅仅是运行安装程序的用户(管理员)。 我无法为安装项目中的所有用户执行此操作。

任何人都知道如何做到这一点?

I use the visual studio application installer to deploy my application on the end users machine. In the setup project I need to add a shortcut to the application exe file in the user's 'send to' menu items.

Now the thing is I need this 'send to' shortcut to be installed for all users, not only for the user who runs the installer (which is the admin). I can find no way to do this for all users in the setup project.

Anyone an idea how to do this ?

最满意答案

我认为您需要手动复制每个用户配置文件文件夹的“发送到”文件夹中的快捷方式。 您可以尝试使用自定义操作。

据我所知,Windows不支持每台机器的“发送到”快捷方式。

I think you need to manually copy the shortcut in Send To folder of each user profile folder. You can try using a custom action for this.

From my knowledge Windows doesn't support per-machine "Send To" shortcuts.

更多推荐

本文发布于:2023-07-27 17:46:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1293563.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:发送到   安装程序   菜单项   用户   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!