Valhalla Legends Archive

Programming => General Programming => .NET Platform => Topic started by: K on March 25, 2006, 04:42 PM

Title: ClickOnce deployment
Post by: K on March 25, 2006, 04:42 PM
I can't seem to get ClickOnce deployment working from an apache server.

Several people have claimed that they have been able to make it work by using the following settings in the directory's .htaccess file:


AddType application/manifest manifest
AddType application/x-ms-application application
AddType application/octet-stream deploy


Unfortunantly, this doesn't seem to work for me -- when the setup program launches the .application file, it just pulls up the XML.


Any suggestions?
Title: Re: ClickOnce deployment
Post by: dxoigmn on March 25, 2006, 08:17 PM
Seems like how a browser handles the file from the web server is dependent on the browser. How are you accessing the published application? Are you using IE? Does it work with IIS using the same browser?
Title: Re: ClickOnce deployment
Post by: K on March 25, 2006, 08:27 PM
After a little googling, it seems that you're right; I came up with this (http://channel9.msdn.com/ShowPost.aspx?PostID=138879), which should hopefully solve the problem.