Skip to content

Support special behavior for upgrading Squirrel applications #1748

Description

Description of the new feature / enhancement

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

  1. If you want to know where the madness with the machine wide installer came from, check it out here ↩

Activity

  1. added
    Issue-Feature
    on Nov 28, 2021
  2. ghost added
    Needs-Triage
    on Nov 28, 2021
  3. denelon commented on Nov 29, 2021

    @denelon
    Collaborator
  4. xarthurx commented on Mar 12, 2022

    @xarthurx

    As of today, the issue for the Fork software is still unresolved.
    Every time I got an update, the info is lost.

  5. xarthurx commented on Aug 28, 2022

    @xarthurx

    Another half year, and as of today, the issue for the Fork software is still unresolved.
    Every time I got an update, the info is lost.

  6. xarthurx commented on Aug 28, 2022

    @xarthurx

    Demitrius Nelon (@denelon) Is there anyone working on this issue?

  7. denelon commented on Aug 28, 2022

    @denelon
    Collaborator

    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:

  8. modified the milestones: , on Aug 28, 2022
  9. removed this from the milestone on Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions