Open RebeccaMahany opened 1 year ago
This is an issues on all the platforms. On the linux ones, the packaging tool (rpm, dpkg, pacman, ...) will have the old version. We do get questions about that very occasionally.
On macOS the pkg versions will be wrong, but no on e looks at that.
I should also mention that I'm somewhat against update strategies that involve execing msi or other packaging tools. That is too failure prone
Because we do not update the app registry when we load a new update for launcher, in some places (e.g. in Apps & Features) the launcher version will display as the original install version instead of the currently running version. This is misleading for users and also potentially confusing, since it will conflict with the correct version displayed in the launcher menu.
We should research our options for keeping the app registry info, including version, accurate after launcher upgrades.
Further details:
C:\Program Files\Kolide\Launcher-kolide-k2\bin\launcher.exe-updates
), checking to see if there is a valid binary in that update folder, and running it if so. These are launcher.exe binaries and not MSIs.Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{<GUID>}
, where<GUID>
corresponds to a GUID from a launcher installation, as well as underComputer\HKEY_LOCAL_MACHINE\SOFTWARE\Kolide\Launcher\kolide-k2\Version
.