Squirrel.Windows icon indicating copy to clipboard operation
Squirrel.Windows copied to clipboard

Two previous versions of the installed app remain in AppData Local after update.

Open MarkAJones opened this issue 10 years ago • 4 comments

Initially the Folder in AppData will have

  • app-xxx (folder)
  • packages (folder)
  • App.ico
  • Update.exe

If the application detects an update and downloads it, a new app-yyy folder is created (as app-xxx is in use)

When the application is relaunched it will run from app-yyy (as expected) but app-xxx remains

Later when app-zzz is updated, the app-xxx will be removed, but not app-yyy

I guess the suggestion is that Update.exe should remove the previous version when it starts running from the new folder, so there is only more than one while the update rollover is occurring.

Currently it looks like the download process tries to clean up, what it can, but not the startup process.

MarkAJones avatar Feb 04 '16 22:02 MarkAJones

Yep, this is by-design, we always have two versions of the app, the current and previous ones

anaisbetts avatar Feb 04 '16 22:02 anaisbetts

The updates are made but my application does not run with the latest version, can you help me please?

mafer31 avatar Nov 29 '18 21:11 mafer31

The updates are made but my application does not run with the latest version, can you help me please?

I am running into the same issue

av-miller avatar Jan 21 '19 21:01 av-miller

Yep, this is by-design, we always have two versions of the app, the current and previous ones

I have two questions about this behavior:

  1. What is the reason of keeping the previous version?
  2. Can the previous version be safely removed by my app logic?

RareScrap avatar Oct 30 '24 18:10 RareScrap