Showing posts with label ClickOnce. Show all posts
Showing posts with label ClickOnce. Show all posts

Saturday, 27 October 2012

ClickOnce deployment

Warning:  There are currently issues with ClickOnce installers running on Windows 8 click here

Within Visual Studio select your WPF Project > Properties > Publish tab

1.Set the installation folder

image

2. Click “Updates…” button and set your “Application Updates” settings then click OK:

image

3. Click the “Options…” button and set your application information:

a) For description enter all the appropriate information

image

b) Click on Deployment and enter a “Deployment web page” and select “Automatically generate….”

image

4. Now we are ready to “Publish”, so click the “Publish Wizard…” button:

a) For the first step we’ll export to our local folder then manually FTP to our web server.

image

b) The next step defaults to the installation folder you entered on the Project properties Publish tab

image

c) If your application runs offline you can accept the defaults:

image

d) We are now ready to Publish, click Finish:

image

Now upload the files from your Publish folder to your web server:

image

Thursday, 27 October 2011

Configuring a Web Server to host Silverlight Apps

To configure your web server to host your silverlight application, you’ll need to add the following MIME types to your web server:

MIME type Extension
application/xaml+xml .xaml
application/x-silverlight-app .xap

And to setup the server for WPF and ClickOnce applications:

MIME type Extension
application/manifest .manifest
application/x-ms-application .application
application/x-ms-xbap .xbap
application/octet-stream .deploy
application/vnd.ms-xpsdocument .xps