Hi!
The backgrond is this. Our customer moved one of their mobile apps from pockt pc 2003 to WM 6.5 a while back. The move semed fine and the app was up and running within hours. Yesterday I got a call from them where they are almost in panic, telling me that the application doesn't do automatic update as it usually does. It seems as if thre is a built in method that upon start checks server in an xml file if there is a new vesion, and if it is, it downloads it from an ftp site, moves it to the device /temp file, then it DELETES the application exe file, and move the new version from /temp to application/app
I checked the code and it really does this. The problem now is that the code throws an exception when trying to delete the app (like in windows an app can't delete itself). What puzzles me is how this could wok on the old pocket pc platform? Does that platform run apps differently, so it IS possible to delete the app? In the code, they reboot the device twice, first a hardreset, then a softreset.
I feel as if the new platform works different... but I have no idea really, as I have never worked with pocketpc.
Anyone has ideas about this? The client was not so happy when I told them (after checking the code) that they probably have to redesign the entire automatic updating module. Apparently they never bothered to test this on the new platform... they just assumed it would work.
/Henrik


Reply With Quote
