Visual Studio Deployment Project - Create shortcut to deployed executable

后端 未结 5 988
误落风尘
误落风尘 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:46

    Should be quite simple:

    • Open FileSystem editor and go the User's Desktop folder.
    • Right click with the mouse and select Create New Shortcut.
    • You will be presented with a dialog that allows you to select for instance the application folder (on the target machine). When you double click on this you see what is inside that folder.
    • Now simply select the primary project output that "contains" your exe file.

    Likewise you can set the icon of the shortcut. At least I believe so.

提交回复
热议问题