[英]How to create shortcut to desktop app in the all apps menu using Visual Studio Installer
In my solution I have a Windows desktop project and a Visual Studio installer setup project. 在我的解决方案中,我有一个Windows桌面项目和一个Visual Studio安装程序安装项目。 The Windows project is just for testing purposes and does not have any UI.
Windows项目仅用于测试目的,没有任何UI。
I want to configure my installer project to install my Windows app and create an entry in the all apps list in the start menu, however I don't see any way of doing this. 我想配置我的安装程序项目以安装Windows应用程序,并在开始菜单的所有应用程序列表中创建一个条目,但是我看不到这样做的任何方法。
The only way I have found that I can create an entry in the all apps list is by creating and installing a UWP app. 我发现可以在所有应用程序列表中创建条目的唯一方法是创建并安装UWP应用程序。
How do I create an entry for my Windows app? 如何为Windows应用程序创建条目?
I found the answer. 我找到了答案。
In the Visual Studio installer setup project, in the solution explorer, right click on the project and go to view file system. 在Visual Studio安装程序安装项目中的解决方案资源管理器中,右键单击该项目,然后查看文件系统。
Right click on 'File System on Target Machine' in the file system menu, and go to 'add special folder'. 右键单击文件系统菜单中的“目标计算机上的文件系统”,然后转到“添加特殊文件夹”。 Add 'User's start menu'.
添加“用户的开始菜单”。 Cut and paste shortcut of primary output into the start menu.
将主输出的快捷方式剪切并粘贴到开始菜单中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.