How to: Specify the location where end users will install from

Applies to: yesVisual Studio noVisual Studio for Mac noVisual Studio Code

When publishing a ClickOnce application, the location where users go to download and install the application is not necessarily the location where you initially publish the application. For example, in some organizations a developer might publish an application to a staging server, and then an administrator would move the application to a Web server.

In this case, you can use the Installation URL property to specify the Web server where users will go to download the application. This is necessary so that the application manifest knows where to look for updates.

The Installation URL property can be set on the Publish page of the Project Designer.


The Installation URL property can also be set using the PublishWizard. For more information, see How to: Publish a ClickOnce application using the Publish Wizard.

To specify an Installation URL

  1. With a project selected in Solution Explorer, on the Project menu, click Properties.

  2. Click the Publish tab.


    In ClickOnce for .NET Core 3.1 and .NET 5 or later, you set deployment properties using the Publish tool instead of the Publish wizard and the Publish page of the Project Designer. For more information, see Deploy a .NET Windows application using ClickOnce and ClickOnce for .NET.

  3. In the Installation URL field, enter the installation location using a fully qualified URL using the format, or a UNC path using the format \Server\ApplicationName.

See also