Reputation: 10659
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.)
Upvotes: 1
Views: 2272
Reputation: 3037
This can also be changed in the .application file by setting <deployment install="false"
Upvotes: 1
Reputation: 1064244
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).
Upvotes: 3