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?
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.
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).
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With