You are here

Proggressive Web Installer?

7 posts / 0 new
Last post
digitxp
digitxp's picture
Offline
Last seen: 12 years 7 months ago
Joined: 2007-11-03 18:33
Proggressive Web Installer?

There's a lot of large apps in the Beta forums, and it takes longer to both download and install them. The PAUpdater has this problem too, it downloads then installs. This wastes time. Time could be saved by making a progressive web installer, that downloads one zip at a time while extracting them also. This saves time especially on a newer computer, with decent memory but slow internet (like Patrick's PC :P). Just the Data and Other dirs would be included. Then the AppName folder would be downloaded while extracting. That way, you don't take forever to download then forever to install.
Here are some downsides and how to remedy them.

  1. The space can't be accurately calculated, but it can be added as a define in appinfo.ini
  2. This would be hard on the update process, but it would be easy to just rename and replace the apps.

Hmm... Maybe just do a single zip and find a plugin that can download and extract when enough is downloaded to start extraction.
Thoughts?

alanbcohen
Offline
Last seen: 4 years 8 months ago
Joined: 2006-01-04 10:47
Only if that isn't a

Only if that isn't a replacement for the current process. I often download on a different machine than I want to install to. I also have multiple drives where the app might be installed. I like the current process where I can download while connected with one machine or another and then install at my leisure, often on another machine. For example, I often download while on a Linux box, put the unopened installer on a archive drive, and install on a external drive connected to a Windows machine.

Tim Clark
Tim Clark's picture
Offline
Last seen: 13 years 2 weeks ago
Joined: 2006-06-18 13:55
I see problems

in this.

The primary one being that extracting will always be faster than downloading !!!

I think in burning a CD this is called underrun or something like that.

The extraction process will always be waiting for more download to catch up.

What about a corrupt download?

What if the internet connection is broken?

What about checking the MD5 check sum?
(can you check the checksum of something that isn't fully downloaded ?)

And then your 1. and 2. above

I see problems with this, sorry.

Tim

Things have got to get better, they can't get worse, or can they?

digitxp
digitxp's picture
Offline
Last seen: 12 years 7 months ago
Joined: 2007-11-03 18:33
Just a thought

It only would be effective on things like OO.o
Anyway, though, the PA Updater should definitely incorporate this system as

Insert original signature here with Greasemonkey Script.

LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 11 years 3 months ago
Developer
Joined: 2007-09-11 12:24
You seem to forget that it

You seem to forget that it is not possible to unzip from a partial downloaded zip file. One solution could be to break up the app into different zip files but that's a nasty one to maintain. Besides having even a installer AND a zip file is more work to the maintainers.

And even if we had something like that the time gained would be minimal. (Because you need to download the complete app anyway to be useful. So grab a coffee during download or read the forums or whatever.

And Patrick? Well, he has to have some patience I guess Smile

Patrick Patience
Offline
Last seen: 4 years 4 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Lol

Yeah, there's other things I can do while I'm downloading. Blum I don't think it takes too long to install at all. I can wait. Smile

Simeon
Simeon's picture
Offline
Last seen: 9 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
dunno...

I dont think its a good idea but I think that the updater should download the next file even if the last one hasnt installed completely (but the should go in the other thread).

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Log in or register to post comments