You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support special behavior for upgrading Squirrel applications #1748
While investigating #1747 I found out that the Squirrel installer has a special way to do upgrades. Namely, it uses a Update.exe file inside the application's install directory (usually User\AppData\Local\$AppName) with some different arguments to execute it (silent upgrade appears to be supported). WinGet should support running this executable with the correct options to upgrade in lieu of running the installer over again, which can in certain cases (again, #1747) cause unexpected behavior.
It's worth noting that Teams is one of the applications that uses the Squirrel installer1, so this may be part of the answer to that problem.
Proposed technical implementation details
A new InstallerType (squirrel) that has defaults for silent install arguments (/s) and for upgrading using the Update.exe file instead of the installer. (This will require winget having some way of figuring out the install directory for the app. Squirrel applications seem to be good about setting the InstallLocation key in the ARP Table, and the Update.exe file is in that directory).
Footnotes
If you want to know where the madness with the machine wide installer came from, check it out here↩
Zhao.MA (@xarthurx) no, this is a fairly large feature. We have to fundamentally change the way we're calling installers to watch an entire process tree.
Activity
denelon commentedon Nov 29, 2021
Related to:
xarthurx commentedon Mar 12, 2022
As of today, the issue for the
Forksoftware is still unresolved.Every time I got an update, the info is lost.
xarthurx commentedon Aug 28, 2022
Another half year, and as of today, the issue for the
Forksoftware is still unresolved.Every time I got an update, the info is lost.
xarthurx commentedon Aug 28, 2022
Demitrius Nelon (@denelon) Is there anyone working on this issue?
denelon commentedon Aug 28, 2022
Zhao.MA (@xarthurx) no, this is a fairly large feature. We have to fundamentally change the way we're calling installers to watch an entire process tree.
Related to: