Automatically updating Compact Framework application code
I've built a Compact Framework application to be used by delivery drivers. This runs on a SQL CE database and connects to a WCF service on a web server. I need a way to update the system when I release new versions.
I'm hoping that I can install a new version of the WCF code in a new folder on the web server and then somehow trigger the mobile devices to update the local CF application and also connect to the new WCF service URL. So far I've found 2 frameworks:
WmAutoUpdate http://github.com/seboslaw/wmautoupdate
AppToDate http://www.modaco.com/category/332/apptodate/
And some old sample code from Microsoft:
.NET Compact Framework Sample: Auto Updater http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8FC47C2C-FC61-4D82-ABAE-F34DC1BFCD3F&displaylang=en
Before I spend hours investigating these options I'm hoping for some tips from others who have gone before. What are the pros and cons of the different frameworks and techniques? I've read various other posts on this topic but they haven't including reviews of these frameworks.
开发者_如何学GoCheers
MarkThose are good places to start.
If you're using a tighlty locked down device and restricting internet access (as I suspect you are) then AppToDate may not be appropriate. Depending on how you're locking down the devices you may have to write something yourself. WmAutoUpdate should serve as a good starting point for this.
Talk to the manufacturers of the devices your using also, as many have their own software solutions to just this issue.
精彩评论