clowd / Clowd.Squirrel

Quick and easy installer and automatic updates for cross-platform dotnet applications
426 stars 39 forks source link

Did the installer detect that the version being installed is an old version? #171

Closed danilobreda closed 1 year ago

danilobreda commented 1 year ago

If my customer has a version 1.5 installed and for some reason reexecute the 1.4 version installer. How can i detect it to block that operation?

Noah1989 commented 1 year ago

Currently the setup .exe always just overwrites everything without any way to intercept programatically, see this releated issue: https://github.com/clowd/Clowd.Squirrel/issues/70

KennyTK commented 1 year ago

A workaround could be checking for most recent version on app start then triggering immediate update if old. This would be inconvenient for person accidentally running old installer but experience is the best teacher.

caesay commented 1 year ago

It's not possible, as people have mentioned, the installer currently always overwrites the installed app. I do not know when this will be implemented but there are some ideas discussed here https://github.com/clowd/Clowd.Squirrel/issues/70