View Single Post
Old 12-30-2013, 09:04 PM   #13
sherman
Addict
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 375
Karma: 742199
Join Date: Sep 2008
Location: Auckland - NZ
Device: Sony PRS-505/SC, B&N Nook, Sony PRS-650/BC, Kobo Glo, Kobo Aura H2O
Quote:
Originally Posted by eschwartz View Post
You could always run that as a bat script. Only two command-line commands are needed:

calibre.exe --shutdown-running-calibre
msiexec /i http://status.calibre-ebook.com/dist/win32

or use win64 for the 64-bit version. No need for compiling a program to do the same thing, since msiexec can use an http location. It is (obviously) 64-bit compatible, you can switch it yourself in 8 seconds.

Then if you really need to, you can also add this as a scheduled task, to run every week at 5:00 AM Friday, just hours after it is usually released and in the middle of the night when you're not up anyway.

Based on the discussion here (although it was for linux): http://www.mobileread.com/forums/sho...3&postcount=24

You could always modify that script into a bat script. It was mainly for testing to see if the latest version was installed. The whole discussion was pretty cool though.
Oooh, I never knew you could feed msiexec a URL instead of a local file.

Currently I use a batch file that uses cURL to download the file to a temp file.
sherman is offline   Reply With Quote