Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ClickOnce - Publishing folder vs. Installation folder

Tags:

clickonce

Could someone tell me the difference between the publishing folder location and the installation folder URL? Is there any reason why these two wouldn't be the same?

like image 375
Randy Minder Avatar asked Apr 14 '10 18:04

Randy Minder


People also ask

What is ClickOnce publish?

ClickOnce is a deployment technology that enables you to create self-updating Windows-based applications that can be installed and run with minimal user interaction.

How do I publish my ClickOnce website?

To specify a custom Web page for a ClickOnce applicationSelect the Publish pane. Click the Options button to open the Publish Options dialog box. Click Deployment. In the Publish Options dialog box, make sure that the Open deployment web page after publish check box is selected (it should be selected by default).

How do I publish a ClickOnce application using the Publish Wizard?

In Solution Explorer, right-click the application project and click Properties. The Project Designer appears. Click the Publish tab to open the Publish page in the Project Designer, and click the Publish Wizard button. The Publish Wizard appears.


1 Answers

You enjoyed my answer in the MSDN Forums so much, I'm posting the link to the answer here as well. ;-)


If you are publishing and installing from the same URL, you can just fill in the publishing file location and be done.

The reason there are two is so if you want to publish to one place, but have an installation URL that's different, you can do that.

For example, you might want to publish to your server using ftp, in which case the publishing file location will be ftp://myserver/myvirtualfolder/myapp and the installation url might be http://myserver/myapp

You might want to publish to a folder on your local disk and do something to the deployment before pushing it to the webserver. In this case, you might publish to C:\_Publish\MyApp\, add some files, re-sign the manifest, and copy it to \inetpub\MyApp\, and the installation url would be http://myserver/myapp

like image 104
RobinDotNet Avatar answered Nov 11 '22 12:11

RobinDotNet