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
Fork software need to re-setup everything a new install is made #1747
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
Install Fork
Setup fork
Wait for a new version release
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
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.
Activity
xarthurx commentedon Nov 28, 2021
The settings should exist in
~\AppData\Local\Forkjedieaston commentedon Nov 28, 2021
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.
xarthurx commentedon Nov 28, 2021
Would you do this (feature request)?
I don't 100% understand the specific feature to request.
Thank you.
jedieaston commentedon Nov 28, 2021
Done :)
#1748.
denelon commentedon Nov 29, 2021
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.