我使用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.
更多推荐
发布评论