-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Squirrel doesn't clean up previous app version, I want to only keep the app-1.0.2 #1763
Comments
I am also seeing something similar where squirrel is not cleaning up previous versions. I want to keep 2 versions at a time. |
Squirrel keeps the current version, and one previous version. It will clean up versions during every update. The reason If you check that there are no additional running processes, then perform an update, your old versions should get cleaned up. If this is not the case, please provide Squirrel logs which will include details about the version directory clean up, and any reasons why a folder was not deleted. |
Thanks @caesay. I found that squirrel is cleaning up old version but since my app- folder contains few .exe's so its just not deleting those .exe's and .dead files. Rest of the files and folders inside app- are cleaned up. |
@ksrivastava20 Unfortunately because Squirrel does not have access to MoveFile's "Delete on next reboot" feature (because that requires UAC elevation), we cannot delete these files. |
how to clean up the previous version and only keep the last version
The text was updated successfully, but these errors were encountered: