How to Auto-Update Windows Mobile application

Chris Brandsma picture Chris Brandsma · Apr 15, 2009 · Viewed 15.6k times · Source

I have a .net cf 3.5 Windows Mobile application that my client wants to have autoupdate features.

Here is what I have so far:

  1. create a CAB using the Smart Device CAB Project (is this good enough, or should I be doing something else here)

2.Get the application version number

Assembly.GetExecutingAssembly().GetName().Version.ToString();
  1. Call a WCF web service for to do a version number look up.
  2. Download a new version of the cab file.
  3. ???
  4. Execute WCELoad.exe on the CAB file
  5. Profit

Answer

Sebastian picture Sebastian · Sep 23, 2009

I just published WmAutoUpdate, a .NET c# framework that will do auto-updates on the Compact Framework. It's freely available on Github: http://github.com/seboslaw/wmautoupdate