Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Automatically remove downloaded launcher from %temp% in certain situations #2477

nvaccessAuto opened this Issue Jun 20, 2012 · 3 comments


None yet
2 participants

Reported by elliott94 on 2012-06-20 10:05
Currently, launchers that are downloaded using the auto updater are placed in the users temperary directory. If the installation of an update is successful, the launcher is automatically removed; however, this isn't always the case.

If an update is manually canceled by the user during the download, the file is kept in the temperary directory and not removed. If several updates are canceled using this method, they waste disk space.

I think tthe best way to handel this is to check if any updates are in the temperary directory when a new update is downloaded, and if found, remove them acordingly.

Comment 1 by jteh on 2012-06-20 10:15
Cancelled downloads are always removed for me. Can you please confirm whether this works correctly when cancelling works properly (i.e. when it doesn't fail as per #2476)?

The code doesn't removed failed downloads. This should be fixed.
Milestone changed from None to 2012.3

Comment 2 by ondrosik on 2012-06-25 06:04
Cancelled downloads works also for me. But when download fails for example internet connection is interrrupted, updated package is not removed from temp dyrectory.

Comment 3 by mdcurran on 2012-07-02 00:59
Fixed in 92b95df. The file is removed as long as the download was not successful (canceled or failed).
State: closed

@nvaccessAuto nvaccessAuto added this to the 2012.3 milestone Nov 10, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment