Live data from Hacker News

Ask HN: Why Download a Downloader to Download an app?

news.ycombinator.com

11–19 of 19 posts

Re: Ask HN: Why Download a Downloader to Download an app?

#11
post #9
post #6

I'm not sure, but I think it's about resumable downloads and handling downloading errors. I practically never download anything large through a browser: I get the link and then use `wget -c` to make sure I get the file, automatically retries when connection is lost and re-established, etc, instead of waiting a long time and then checking the download in the browser and find out it failed a few minutes after it starte…

Well that probably made sense in times of IE5, but modern browsers can’t be worse than wget -c ...

If modern browsers assume flawless internet connections, they'll be much worse than wget -c, at least at downloading large enough files for which there's a higher probability of something going wrong with certain internet connections.

I need to be able to leave something downloading and be sure that, when I come back, the file is there.

Now, would I do this if I had a 1Gbps? Probably not. But at 8Mbps, with an internet connection that only works if you offer intestines to gods, I have to.

Re: Ask HN: Why Download a Downloader to Download an app?

#12
In the case of my company's software it's for ease of deployment for new versions. When you click download you get a gui that will step you settings etc. I don't want to rebuild and re-sign the gui every time I have a patch and need to change its install behavior slightly, so it downloads the latest installer dll and executes that in order to handle any new flags, configs, added binaries, etc.

All of this is done behind the scenes though, so your average end user doesn't even notice.

Re: Ask HN: Why Download a Downloader to Download an app?

#13
post #6

I'm not sure, but I think it's about resumable downloads and handling downloading errors. I practically never download anything large through a browser: I get the link and then use `wget -c` to make sure I get the file, automatically retries when connection is lost and re-established, etc, instead of waiting a long time and then checking the download in the browser and find out it failed a few minutes after it starte…

Maybe a useful tip: you can resume paused Chrome download files with wget -c

https://gist.github.com/milesrichardson/ca0d2b25baa8a0374910...

Re: Ask HN: Why Download a Downloader to Download an app?

#15
post #6

I'm not sure, but I think it's about resumable downloads and handling downloading errors. I practically never download anything large through a browser: I get the link and then use `wget -c` to make sure I get the file, automatically retries when connection is lost and re-established, etc, instead of waiting a long time and then checking the download in the browser and find out it failed a few minutes after it starte…

Maybe a useful tip: you can resume paused Chrome download files with wget -c https://gist.github.com/milesrichardson/ca0d2b25baa8a0374910...

Thank you. I'm aware of that. It's more work to delegate to one tool I know will often fail me and fall back on a second tool than to use the second tool in the first place.

Re: Ask HN: Why Download a Downloader to Download an app?

#16
When I've done it in the past the reason was that the "downloader" was more like a bootstrapper to get the app on the machine with different logic if the app was already installed/not installed, and to migrate between versions if necessary - without corrupting the existing installation, if it exists.

Download & Install is filled with points of failure and have few ways of performing the modifications atomically. Its better to have this correct than have nice information displays. But this depends heavily on what the app structure looks like.

> Especially when the custom downloader doesn't suppoert resuming interrupted downloads, display remaining time, current download speed or how much data is being downloaded

These things are not always easy, are usually lies, and add very little value to the application. Be happy they haven't hyper optimized first time installation or new user onboarding, since you usually only do it once.

Re: Ask HN: Why Download a Downloader to Download an app?

#17
post #2

Could be because of EV app certificates (which get rid of the warning screen when you install a desktop app). These require a number of installs before the warning goes away. When you modify the executable at all though, the counter resets. Instead, if you keep the same install executable and fetch the latest version of the app, you can keep from resetting that counter. Just going from my experience.

It's not just EV certs, regular code signing certs have the same issue.

Re: Ask HN: Why Download a Downloader to Download an app?

#18
post #16

When I've done it in the past the reason was that the "downloader" was more like a bootstrapper to get the app on the machine with different logic if the app was already installed/not installed, and to migrate between versions if necessary - without corrupting the existing installation, if it exists. Download & Install is filled with points of failure and have few ways of performing the modifications atomically. Its…

Resuming an interrupted download is a lie? Displaying data use is hard?
Post reply on HN