简体   繁体   中英

Create exe shortcut using Setup Wizard Visual studio

I created a Windows Forms application and added a Setup Wizard. I want the installer to create a SHORTCUT of my exe on the desktop but not a COPY of it because the exe uses resources from the folder its in. I added a shortcut using this article: http://gaurangpatel.net/creating-application-shortcut-in-programs-for-windows-installer-project . but it created a copy of the exe instead of a shortcut. Can anyone help with this?

In File system view, go to Application folder and right click your main output. Select Create shortcut to... and drag and drop that shortcut to the User's desktop directory.

截屏

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