简体   繁体   中英

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. The Windows project is just for testing purposes and does not have any 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.

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.

How do I create an entry for my Windows app?

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM