Wpf – No “Start” menu shortcut using ClickOnce

clickoncedeploymentwpf

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.)

Best Answer

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).

Related Topic