Skip to content

Fork software need to re-setup everything a new install is made #1747

Closed

Description

@xarthurx

Brief description of your issue

When installing the software "Fork" (a git client) through winget, everything there's a new version released and installed, user settings will be overwritten and I need to setup everything again.

Steps to reproduce

  1. Install Fork
  2. Setup fork
  3. Wait for a new version release
  4. Install the new version

Expected behavior

The newly installed version should inherit the original user settings.

Actual behavior

user settings are overwritten and not respected.

Environment

Windows Package Manager v1.1.12986
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.318
Package: Microsoft.DesktopAppInstaller v1.16.12986.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Activity

  1. ghost added
    Needs-Triage
    on Nov 28, 2021
  2. xarthurx commented on Nov 28, 2021

    @xarthurx
    Author

    The settings should exist in ~\AppData\Local\Fork

  3. jedieaston commented on Nov 28, 2021

    @jedieaston
    Contributor

    This looks (although I'm not 100% certain) to be a bug with Fork's installer (or intentional behavior, since if you're re-running the installer it may be that your local install is borked).

    I'd suggest reaching out to them and asking them to add an argument to their installer that disables this behavior (/upgrade, perhaps?). Maybe there already is such an option and it just isn't documented, I tried to get their installer to list the options and it wouldn't.

    edit: nvm, they're using Squirrel, which doesn't expose such a thing (Squirrel/Squirrel.Windows#1089). This should be a feature request for winget (maybe a separate issue) where if winget is upgrading a Squirrel-installed application (which a lot of apps including Teams and Discord are), it will invoke the Update.exe executable in the application's installation directory which supports silent upgrades instead of trying to run a newer version of the installer.

  4. xarthurx commented on Nov 28, 2021

    @xarthurx
    Author

    Would you do this (feature request)?
    I don't 100% understand the specific feature to request.

    Thank you.

  5. jedieaston commented on Nov 28, 2021

    @jedieaston
    Contributor

    Done :)

    #1748.

  6. denelon commented on Nov 29, 2021

    @denelon
    Collaborator

    Zhao.MA (@xarthurx),

    I've linked a couple of related issues to #1748. I'm going to go ahead and close this issue since we've captured the work in other feature requests.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions