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

Issue with Multiple channels Update App

Open hardevgun17 opened this issue 5 years ago • 2 comments

Squirrel version(s) 1.9.1.0

Hello, I have been using squirrel.windows very first time and facing issue in updating app from different channels. Actually I have two channels say one is official and other one is beta, both have different source path. I have to display a label according to these channels on currently running application like this is beta version. But when I update app from the beta version say 5.3.0 with beta channel URL then when I CheckForUpdate() from the official channel URL, it is returning me 5.3.0 in CurrentlyInstalledVersion property which should say 5.2.0 instead of 5.3.0.

Is there any property in squirrel that which says like this version is higher version?

Its similar like #826

hardevgun17 avatar Sep 23 '20 19:09 hardevgun17

you have to have one single "timeline" of version numbers across all your environments

Store the current update path in your settings, do string comparison to determine on which channel you currently are.

Slion avatar Sep 28 '20 05:09 Slion

You could check out https://github.com/WildGums/Orc.Squirrel. We've implemented a wrapper around the executable with different channels. This should give you some idea how you can work with multiple channels.

We use separate installation ids for the different channels as well, so we can install everything side-by-side (e.g. MyProduct_alpa, MyProduct_beta and MyProduct).

GeertvanHorrik avatar Oct 12 '20 12:10 GeertvanHorrik