auto-update

Auto update for WinForms application

落花浮王杯 提交于 2019-11-28 16:54:21
When creating an auto updating feature for a .NET WinForms application, how does it update the DLLs and not affect the currently running application? Since the application is running during the update process, won't there be a lock on the DLLs (because those DLLs will have to be overwritten during the update). Usually you would download the new files into a separate area. Then shutdown and restart and at startup you look for and use the new files if found. Always keeping a last known working version on the side so that the user can revert to something that definitely works if the download

Writing my own Auto Updater [closed]

南楼画角 提交于 2019-11-28 15:10:11
When writing my own auto updater, is there a general framework that I should be following? A while ago I was reading up on how one should create a 'boot strapper' that will load first before the main application (since a running appilation can't be updated due to file locks etc.) So any tips/best practices for this? You'll probably have to write your own. As FOR mentioned, the basic idea is to put the latest version of your program (I'm assuming an EXE) on the server, and then have your application check with the server when it starts, and download the EXE from the server if it's a newer

Free solution for automatic updates with a .NET/C# app?

好久不见. 提交于 2019-11-28 15:08:55
问题 From searching I can see this has been asked time and time again, but not adequately enough, so here goes. I'm a hobbyist developer with no budget. A program I've been developing has been in need of regular bugfixes, and me and users are getting tired of having to manually update. Me, because my current solution of updating a text file through FTP and my download links on the website, and then hoping users will see the "there's an update message", and finally getting them to then be bothered

How can I enable auto-updates in a Qt cross-platform application?

一世执手 提交于 2019-11-28 14:12:32
问题 I love applications that are able to update themselves without any effort from the user (think: Sparkle framework for Mac). Is there any code/library I can leverage to do this in a Qt application, without having to worry about the OS details? At least for Windows, Mac and user-owned Linux binaries. I could integrate Sparkle on the Mac version, code something for the Linux case (only for a standalone, user-owned binary; I won't mess with distribution packaging, if my program is ever packaged),

What is the experience with Google 'Omaha' (their auto-update engine for Chrome)?

笑着哭i 提交于 2019-11-28 13:32:20
问题 Google has open-sourced the auto update mechanism used in Google Chrome as Omaha. It seems quite complicated and difficult to configure for anybody who isn't Google. What is the experience using Omaha in projects? Can it be recommended? 回答1: We use Omaha for our products. Initially there was quite a bit of work to change hardcoded URLs and strings. Also the server is not open source, but the protocol is well documented so it was not difficult to create a compatible server using Google App

Strategies For Replacing Program Executable in Windows

99封情书 提交于 2019-11-28 12:38:45
I have a Windows program that needs to update itself from a server automatically. It is already able to transfer files from the server and update + validate things like DLL plugin files before loading them. However, this program also needs to update itself. There are probably a few different ways this could be done, and the most obvious one I've seen from various online game clients is creating an "auto patcher" that downloads and then runs the client executable. That introduces the problem of having to update the autopatcher, so if there is a more elegant solution I'd like to hear about it. I

How to write a self-updating program in Java? [closed]

大城市里の小女人 提交于 2019-11-28 09:26:12
How can i make a Java program which can update itself. I make this program for use within small team. I do not need any advanced features. I just need a simple and minimal solution. Java Web Start is meant specifically for this. You ship one jnlp file, and java takes care of fetching the newest version from a server. Apart from that, you can download updated classes and replace them at runtime. What do you mean by self-updating ? If you mean that it changes its behavior at runtime (which is rare), you could create code that writes java code, compiles it, and loads it from within a running

How to update Android Studio Beta Channel

做~自己de王妃 提交于 2019-11-28 08:11:51
问题 I am using Android Studio when ever i try to update it shows me the below How can i update it and also tried by using the option Help->checkForUdates but it shows the same. 回答1: In Android Studio go to "File > Settings > Updates" change the "Stable channel" option to "canary channel". After that go to "Help > Check for update ...". You should get a pop-up with the option to "update and restart" Here is the Official documentation Regards Jose 回答2: According to the release notes: Note: There

Suggest a method for auto-updating my C# program [duplicate]

房东的猫 提交于 2019-11-28 06:29:49
This question already has an answer here: Automatic update a Windows application 5 answers I need to keep a program I've written up to date, this will happen frequently over the next year or so, this will need to be done over the Internet. Where would you suggest I start, are there any common techniques? Any suggestions welcome. Thanks Fairly well is not good enough :) NAppUpdate is an open-source library I wrote to address just this. The general idea is to have the greatest flexibility, at the lowest overhead possible. So, integration is super-easy, and the library does pretty much everything

Android remote code loading

三世轮回 提交于 2019-11-28 03:04:54
I am developing a library for Android that requires frequent updates from a central server. I was thinking how nice it would be if my library could update itself -- or if I could just release a bootstrap library that downloads the target library when the app is installed. I see this class in 1.5 called "DexClassLoader" but there seems to be precious little on the web besides the API docs. Has anyone used this successfully for the scenario which I described? Also, do the terms of the Android Market permit such a thing? I've successfully used DexClassLoader . It's important to provide a