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.
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.