Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

How to: Disable URL Activation of ClickOnce Applications Using the Designer 

Typically, a ClickOnce application will launch automatically immediately after it is installed from a Web server. For security reasons, you may decide to disable this behavior, and tell users to launch the application from the Start menu instead. The following procedure describes how to disable URL activation.

This technique can be used only for ClickOnce applications installed on the user's computer from a Web server. It cannot be used for online-only applications, which can be launched only by using their URL. For more information on the difference between online-only and installed applications, see Choosing a ClickOnce Deployment Strategy.

This procedure uses Visual Studio. You can also accomplish this task using the .NET Framework SDK. For more information, see How to: Disable URL Activation of ClickOnce Applications.

Procedure

To disable URL activation for your application

  1. Right-click your project name in Solution Explorer, and select Properties.

  2. On the Properties page, select the Publish tab.

  3. Click Options.

  4. Select the check box labeled Block application from being activated via a URL.

  5. Deploy your application.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.