Solved

Visual Studio 2010

Posted on 2013-10-28
3
248 Views
Last Modified: 2013-11-04
Does anyone know how to automatically create a desktop shortcut for my application
0
Comment
Question by:HKFuey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 19

Accepted Solution

by:
mrwad99 earned 250 total points
ID: 39605594
Yes, this question has been asked many times before; I recall seeing it on MSDN and have found the link which explains it for you:

http://social.msdn.microsoft.com/Forums/en-US/126c09a2-6f38-4747-9ddd-55ff977fcba0/create-a-desktop-shortcut?forum=vbide

This example creates a shortcut on a button click handler, but you can put the code anyhere you want.
0
 
LVL 40

Assisted Solution

by:Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger) earned 250 total points
ID: 39605882
If you install your application through a .msi file, the software that you use to create the .msi should have a mechanism to do that for you.

For instance, if you use the Setup and Deployment tool that is provided with Visual Studio up to version 2010, you can add the short cut to your installation through a right click on the Primary Output in the Application Folder node of the File System window.

You then rename the created shortcut and assign it an icon through its context menu.

Once it is ready, you drag it to the User's Desktop on the left pane of the File System window.

Upon installation, the Windows Installer will use that information to create the shortcut and adjust the program location if the user install it somewhere else than in the default installation directory.

If you use another type of installer tool, check its documentation for shortcut.
0
 

Author Closing Comment

by:HKFuey
ID: 39620985
Thanks for the help.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question