This project is read-only.
This solution is made up of two projects:

Primary project that does the semi-heavy lifting. This ain't rocket science. The main class is here: Updater.cs

Sample project that uses the Updater class functionality. This is a good starting point for integrating the Updater class into your application or just use this guy as your update UI.

Some Dev Notes:
  1. Visual Studio 11 Beta from ~Feb 2011
  2. .NET Framework 4.5 Beta
  3. C#
I left out some of the more obvious steps. I'm assuming everyone knows how to get to a project's properties, how to create an IIS App and how to create an App Pool (if needed). If you need help with these steps or if I've left something else out, let me know and I'll do my best to help!

Signing Tab:
This will give you compile errors if you don't use your own cert.


Publish Tab:
Here you can see I created a web application under localhost. Its physical path is c:\Inetpub\wwwroot\updater. You will also want to use a .NET Framework 4 application pool for this app.


We don't want the app framework to do the updates. We want our special Updater class to handle the updates. So leave this window blank!


Have it generate the html page for us. Handy.


Request Filtering:
Now we need to remove the .config filtering. Go into IIS Manager and look for the Request Filtering icon.


Remove Restriction:
Remove the .config file request filtering restriction.


Last edited May 24, 2012 at 12:28 AM by haluska, version 29


No comments yet.