ClickOnce installer when the server does not have FrontPage Server Extensions

Let me start by saying that I am NOT a ClickOnce expert, yet today I encountered a problem and thought of sharing with you guys my experience. So I was deploying a ClickOnce installer on a server and when I clicked “Publish Now”, I got an error saying “….The Web server does not appear to have FrontPage Server Extensions installed……”.

The first thing I tried was to change the “Publish Folder Location” to my local IIS (localhost) which worked fine on my machine, yet when I tried the ClickOnce installer on another machine it did not work because setup.exe was trying to connect to my machine to download the *.application file. After some research I found out that you can publish the ClickOnce to a location and instruct it to do download from another location. In order to do this you have to put the URL of the live server in the “Installation Folder URL” textbox which is located below the “Publishing Folder Location” textbox (as shown in the image below).

To summarize you can put in 2 different URL, where to Publish the ClickOnce and where the ClickOnce will be actually downloaded from. In my case I set the “Publishing Folder Location” to the localhost (that had IIS) and set the “Installation Folder URL” to the actual server URL (the one that the clients would be using to download the actual installer). Then once I am happy I just upload the files from the localhost to the actual live server, and everything just works🙂

clickonce

 

Hope this helps….

4 thoughts on “ClickOnce installer when the server does not have FrontPage Server Extensions

  1. Hi,

    You could try alternative solution. which will save you a lot of manual work. what you can do here is to use ftp in publish folder location and in installation you can use http. so in your application it would be like this.

    Publish Folder Location -> ftp://download.marlon.com/clickonce

    Installation Folder URL ->
    http://download.marlon.com/clickonce

    We also had similar scenario. but this solution has worked well.

    Hope this was helpfull.
    Thanks

  2. Pingback: WPF Click Once Deployment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s