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:
- 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();
- Call a WCF web service for to do a version number look up.
- Download a new version of the cab file.
- ???
- Execute WCELoad.exe on the CAB file
- Profit
Your solution is generally correct, but has a few problems.
An old, but still very valid, resource is Alex Feinman’s MSDN article on creating self-updating applications.