Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I serve a ClickOnce application with Apache?

We're testing our ClickOnce deployed application internally on IIS (Internet Information Services), but we're wondering if we can deploy it to the wider internet using Apache on Linux so we can make use of our existing external website host.

If so, is there anything else I need to consider other than as specifying the correct mime types such as .application and .deploy?

like image 371
Andrew Avatar asked Sep 18 '08 15:09

Andrew


People also ask

How do I deploy ClickOnce application?

In the Specific target page, select ClickOnce. Enter a path or select Browse to select the publish location. In the Install location page, select where users will install the application from. In the Settings page, you can provide the settings necessary for ClickOnce.

Where does a ClickOnce application get installed?

ClickOnce data directory. Every ClickOnce application installed on a local computer has a data directory, stored in the user's Documents and Settings folder. Any file included in a ClickOnce application and marked as a "data" file is copied to this directory when an application is installed.

How do I manage updates for a ClickOnce application?

Click the Publish tab. Click the Updates button to open the Application Updates dialog box. In the Application Updates dialog box, make sure that the check box The application should check for updates is selected. In the Choose when the application should check for updates section, select After the application starts.

Does ClickOnce require admin rights?

ClickOnce-deployed applications are considered "low impact", in that they are installed per user, not per machine. Administrator privileges are not required to install these applications.


2 Answers

I found a number of people asking the same question starting around 2005, but here is the first google result - also discusses silverlight.

http://software.clempaul.me.uk/articles/clickonce/

As far as I can tell, however, the only thing you would need to worry about would be setting up the mime types and providing access to the files.

like image 77
Jose Bueno Avatar answered Sep 23 '22 08:09

Jose Bueno


The Paul Clement article is the best description I've found. I also came across a topic in the Apache documentation that suggests putting the configuration in the httpd.conf file instead of .htaccess files. Here are the lines I added to my httpd.conf file:

AddType application/x-ms-application .application
AddType application/manifest .manifest
AddType application/octet-stream .deploy
like image 31
Don Kirkby Avatar answered Sep 22 '22 08:09

Don Kirkby