how can I creat a shortcut in clickonce ... ?

when I publish my project, ClickOnce Technology not support a shortcut ..

so is there any way to create it?

[123 byte] By [Romantic_touch] at [2007-12-24]
# 1

You could create it programmaticaly in your code.

RyanTsai at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 2

how is this?

If I install the first setup and create a shortcut, then I need to delete it for the next update ot change the path each update, and if user remove the application .. how Can I remove the shortcut!!

note: how can I create it?

Romantic_touch at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 3

If you're asking for a desktop shortcut (or any other shortcut other than the one ClickOnce adds to the Start menu | Programs for you), then the answer is currently no. ClickOnce does not provide a mechanism to do this in the current version. It's definitely a requested topic, so I'm hopeful that it's something the team will be able to add in a future release, but that will be then & this is now.

You can find some more details here: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=138691&SiteID=1

hth,

e-

Eric.Knox@microsoft.com

EricKnoxMSFT at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 4

Can I create shortCut by code?

Romantic_touch at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 5
you don't have to create a shortcut..all you need to do programmatically is to just copy the existing shortcut from the program files folder..just locate it then copy to your desktop..
digitalsuperman at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 6

do you mean to copy it manually?

if this.. then It will not solve much my problem because I cann't go to each customer and do it.

Romantic_touch at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...