Updating net compact framework

Next, because you can't delete or overwrite a running EXE file, your application renames its original EXE file to something like "My Application.old" (the OS allows this, fortunately). The new version deletes the old file ("My Application.old") and the update is complete.Your app then saves the downloaded byte[] array in the same folder as the original EXE file, and with the same original name (e.g. Having an application update itself without requiring the user to restart is a huge pain in the butt (you have to kick off a separate process to do the updating, which means a separate updater application that cannot itself be auto-updated) and I've never been able to make it work 100% reliably.NET Compact Framework is strongly recommended for all users looking to get the most out of their device by trying out the full range of software available.

updating net compact framework-60updating net compact framework-26updating net compact framework-4

I have been specifically asked to do it this way, so if you know of any tips/caveats, any info is appreciated. If the server version is newer, your application downloads the new EXE as a byte[] array. When the user restarts the app, it will be the new version they're starting.Microsoft is conducting an online survey to understand your opinion of the Msdn Web site.If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site. I’m guessing when you are updating your UI from a worker thread you are doing something like this: What is happening here is a worker thread is created when this CE application first starts.The thread enters a loop that won’t end until the form is closed.Both attempts locked up the emulator and I wasn’t able to shutdown the application.

310

Leave a Reply