views:

443

answers:

1

I am publishing a .Net 3.5 SP1 WPF application through ClickOnce. By default, when the user clicks on the published link the application gets installed and a menu and shortcut are added to the client's Start/All Programs menu.

How can I prevent the shortcut/menu from being created? (users need to run the application solely by clicking on the hyperlink to the ".application" file on a web page)

Thanks!

+1  A: 

For this behaviour, set it as online only. Project properties -> Publish -> "The application is available online only" (radio button).

It will still do the same local caching of files etc; it is mainly the start-menu that changes (I don't have a full list of the differences).

Marc Gravell
That's right. Thanks.
Gustavo Cavalcanti