-
-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force launcher to check integrity before started #2475
Comments
Comment 1 by briang1 on 2012-06-24 08:54 I tend to clear this out with ccleaner in any case. |
Comment 2 by elliott94 on 2012-06-24 10:38 I don't think this is necessarily a case of storing older downloads; after all, they may be corrupted in any case. |
Comment 3 by briang1 on 2012-06-24 10:48 Normally if it fails it is spotted at the downloading stage. This is usually due to a network issue I find. I tend to keep a portable version on the system which I get to poll for updates as this gives the option to download to a file and can be kept and also it will update the installed version as normal after the download is run, if it finds one present already on the system, or installs anew if it does not. |
Comment 4 by elliott94 on 2012-06-24 11:04 |
Comment 5 by mdcurran on 2012-07-02 00:27 |
Comment 6 by elliott94 (in reply to comment 5) on 2012-07-02 09:40
I assume an error gets shown if the CRC doesn't match? Also, I guess this should be set to 2012.3. :) |
Comment 7 by mdcurran on 2012-07-02 23:21 |
Comment 9 by elliott94 (in reply to comment 7) on 2012-08-31 15:23
If you're interested, I've attached an example of a launcher which failed to download, but was kept in the temperary directory. As you can see, the description is correct (NVDA Launcher), but not much happens when it's exicuted. Just out of interest, are the filenames for launchers saved to the temperary directory randomly generated? |
Attachment nvda_update_8s61zn.exe added by elliott94 on 2012-08-31 15:25 |
Comment 10 by jteh (in reply to comment 9) on 2012-09-03 06:14
Yes. |
Reported by elliott94 on 2012-06-20 09:53
I recently noticed that I had several versions of the launcher in my temp directory (these were versions that were left over when they failed to download with the auto updater). Out of curiosity, I opened one of them, which was around 8 MB. It briefly opened, and then closed about a second later without any error dialogs.
In these situations where the download is incomplete (either by the updater or a user downloading the launcher for the first time), it may be advisable to add a check to the launcher to make sure that it's the complete file, and present an error dialog if it's damaged. Instalers such as Inno Setup do this well, but I'm not sure if this can be done with NSIS.
The text was updated successfully, but these errors were encountered: