VS2010 contains a ‘setup’ project that creates an installation package. I need a short cut to the app that will be installed on the user’s desktop. The shortcut I know how to create with the setup/Install is a ‘special’ shortcut and I can’t use it to drop files onto it (and launch the app from it). Anyone knows how to create a full-features-shortcut that will follow the user’s specified installation path (if he changes it)?
Asked
Active
Viewed 4,808 times
3
-
off topic: setup projects are no longer supported in VS2011. Use Wix or some other program to create setup projects in vs2011 – Martin Mar 26 '12 at 21:56
-
@Martin The OP specified "VS2010", and things aren't off topic just because they are no longer supported. (If the post has been edited, it is not reflected here.) – Scott Solmer Oct 21 '13 at 17:42
-
@Okuma It wrote "off topic" because the OP asked about "VS2010", not because it was no longer supported. – Martin Oct 22 '13 at 08:43
2 Answers
1
To create a shortcut in a Visual Studio setup project, you can try this:
- go to the File System Editor
- select "User's Desktop" folder
- right-click in the right pane (the files list)
- select "Create New Shortcut" context menu item
- select the target file when prompted
I'm not sure what you mean by "special shortcut", but this is the only type of shortcut you can create with Visual Studio.

Cosmin
- 21,216
- 5
- 45
- 60
-
This shortcut doen't allow you to use drag & drop onto it. So after installing the app the user can't use all of the app's features. Moreover if you look at its properties it looks different than the one you create manually – furd Mar 26 '12 at 21:44
0
You probably have to disable advertised shortcuts with a tool like Orca. More info here: http://social.msdn.microsoft.com/forums/en-US/winformssetup/thread/d87e8737-dc71-4a5d-a3e7-6653888dd129/?prof=required

Martin
- 1,149
- 7
- 13