Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to best implement software updates on windows? [closed]

Tags:

I want to implement an "automatic update" system for a windows application. Right now I'm semi-manually creating an "appcast" which my program checks, and notifies the user that a new version is available. (I'm using NSIS for my installers).

Is there software that I can use that will handle the "automatic" part of the updates, perhaps similar to Sparkle on the mac? Any issues/pitfalls that I should be aware of?

like image 363
dF. Avatar asked Aug 31 '08 18:08

dF.


People also ask

Can Windows Update while off?

What is this? If you shut down your PC while it's downloading the new software update files, expect little to no harm. Either all the new data will be backed up, or your download progress will continue after restarting the PC. In some cases, the data can get corrupted and the update will restart.

How do I continue installing Windows updates?

Select Start > Settings > Update & Security > Windows Update . Select either Pause updates for 7 days or Advanced options. Then, in the Pause updates section, select the drop-down menu and specify a date for updates to resume.


2 Answers

There's now a Windows port of Sparkle, see http://winsparkle.org.

like image 85
Václav Slavík Avatar answered Oct 09 '22 20:10

Václav Slavík


There is no solution quite as smooth as Sparkle (that I know of).

If you need an easy means of deployment and updating applications, ClickOnce is an option. Unfortunately, it's inflexible (e.g., no per-machine installation instead of per-user), opaque (you have very little influence and clarity and control over how its deployment actually works) and non-standard (the paths it stores the installed app in are unlike anything else on Windows).

Much closer to what you're asking would be ClickThrough, a side project of WiX, but I'm not sure it's still in development (if it is, they should be clearer about that…) — and it would use MSI in any case, not NSIS.

You're likely best off rolling something on your own. I'd love to see a Sparkle-like project for Windows, but nobody seems to have given it a shot thus far.

like image 23
Sören Kuklau Avatar answered Oct 09 '22 20:10

Sören Kuklau