I am developing an auto update feature for my Windows Mobile 6.5 .NET CF 3.5. I ended up with the following solution.
- I use the SOAP WebService to check if a new version is available.
- If there is a new version, then I downloaded the URL in the SOAP response, download it new version is just a CAB full installation file.
- As soon as the version is downloaded, I call wceload on the downloaded CAB / silent and / noui parameters. I want to install an unsurpassed installation because the users of this application are car drivers which are not so skilled in the operation of mobile devices.
The process goes smoothly with one exception - / noui / silent option / force wceload to not display any window. My app is only missing and a new version is installed in the background. The problem is that the drivers sometimes tried to turn the application again very soon. Another issue is that I want my application to be fully started after the completion of the update process. So I have created a separate application that just calls wceload and if it completes the installation it runs the updated version. With the exception of the OR all - this installer exe is part of my CAB, so it is within it and when the wceload CAB installs, it closes the installer (because it is part of the CAB installer). Thus, the installation process is interrupted. My question is - is there a way to "tell CAB" to not eliminate special exe from those people who are part of this CAB?
This is not really answering your question, but you can do the following:- < Li> display another (small) executable in the "one update in progress" screen
- do your stuff behind the scenes
[end of setup] = & gt; It starts your updated app [wait a while] => It closes itself and is ready to use the updated app
- do your stuff behind the scenes
Comments
Post a Comment