Rwiti
Rwiti

Reputation: 1066

How to create a desktop shortcut based upon user Input?

I am creating setup for a Windows Forms Application using Visual Studio 2010. I know how to create shortcut on the desktop during the setup. My question is, How to add a checkbox during the setup asking the user "Do you want to create a shortcut on the desktop"?

Upvotes: 2

Views: 506

Answers (1)

Teknikaali
Teknikaali

Reputation: 135

What I found out, adding your own checkboxes can be a bit cumbersome, but here is an in-depth guide I stumbled upon:

Create custom dialogs for use in your Visual Studio Setup projects

The article explains it for the VS2010 using Visual Studio's own installer dialogs and would probably be the way to go.

For VS2003 there is a bit different guide, might be worth checking out: Conditional Install of Desktop and Quick Launch Shortcuts

(possible duplicate of this)

Upvotes: 1

Related Questions