PC Review


Reply
Thread Tools Rate Thread

Add shortcut on desktop for Published application

 
 
=?Utf-8?B?TWlrZSBM?=
Guest
Posts: n/a
 
      14th Feb 2006
How do I set the publish wizard to add a shortcut to the client's desktop?
 
Reply With Quote
 
 
 
 
Gary Chang[MSFT]
Guest
Posts: n/a
 
      15th Feb 2006
Hi,

>How do I set the publish wizard to add a shortcut to
>the client's desktop?


I am afraid the ClickOnce installation only supports the creation of the
Start menu's shortcut, but not the desktop's shortcut icon.

If you need to create a desktop icon for your Clickonce application, one
workaround is to provide your application with the necessary file code
access permissions. With that you can write custom code in the startup of
your application (ClickOnce apps startup after install by default), then
you can create the desktop icon at that time. Please refer to the following
link for a code sample:

Creating Shell Links (Shortcuts) in .NET Programs Using WSH
http://www.codeproject.com/dotnet/shelllink.asp

By the way, if you take this approach, the desktop's shortcut won't be
removed when your application has been uninstalled.


Thanks!

Best regards,

Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No shortcut appears on desktop/ program menu after application assigned through GPO BLindner Microsoft Windows 2000 Group Policy 0 18th Feb 2005 02:44 PM
Terminal Server Desktop, Explorer.exe, Launches from a Published Application Mohammed Diakite Microsoft Windows 2000 Terminal Server Applications 0 23rd Jul 2004 05:14 PM
Help: Placing Internet Shortcut for Windows Forms application (hosted on web server) on Desktop Mike Kingscott Microsoft Dot NET Framework 2 26th Feb 2004 11:38 PM
How to add a shortcut to the desktop from an console application? Gilles LAMBERT Microsoft VB .NET 1 22nd Sep 2003 10:39 PM
How to Roll Out Desktop Shortcut for Single Application Barry Schneider Microsoft Windows 2000 Terminal Server Clients 1 7th Jul 2003 10:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:40 AM.