Visual Studio Deployment Project - Create shortcut to deployed executable

后端 未结 5 999
误落风尘
误落风尘 2020-12-07 19:47

I realize there is likely a simple method to do this but how does one create a desktop shortcut to the executable deployed by an MSI built using a Visual Studio Deployment p

5条回答
  •  無奈伤痛
    2020-12-07 20:52

    After wasting an hour, I got it done - VS 2010 ... VS 2017 (this article helped):

    1. In your Deployment Project go to File System Editor
    2. Click on "Application Folder" (I assume you have "Primary Output" from your projects there)
    3. Right click on "Primary Output" of the project you want to target with your shortcut - select "Create Shortcut to Primary Output ..."
    4. Rename shortcut
    5. Drag shortcut to Desktop / Programs Menu folder

    That's it!

提交回复
热议问题