-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Package Issue]: Discord.Discord doesn't update DisplayVersion -> remove Discord.Discord #172175
Comments
Remove until Squirrel/Squirrel.Windows#1187 is fixed. See microsoft#172175
Remove until Squirrel/Squirrel.Windows#1187 is fixed. See microsoft#172175
Remove until Squirrel/Squirrel.Windows#1187 is fixed. See microsoft#172175
Remove until Squirrel/Squirrel.Windows#1187 is fixed. See microsoft#172175
Remove until Squirrel/Squirrel.Windows#1187 is fixed. See microsoft#172175
Remove until Squirrel/Squirrel.Windows#1187 is fixed. See microsoft#172175
Remove until Squirrel/Squirrel.Windows#1187 is fixed. See microsoft#172175
Remove until Squirrel/Squirrel.Windows#1187 is fixed. See microsoft#172175
Remove until Squirrel/Squirrel.Windows#1187 is fixed. See microsoft#172175
Remove until Squirrel/Squirrel.Windows#1187 is fixed. See microsoft#172175
Remove until Squirrel/Squirrel.Windows#1187 is fixed. See microsoft#172175
Remove until Squirrel/Squirrel.Windows#1187 is fixed. See microsoft#172175
I don't think removing is the right call. Keeping the manifest still adds value for
Curious, how are you able to do this right now? You shouldn't be able to as we added
While it is unfortunate that package does not work well for upgrade scenarios, removing it altogether seems a bit excessive and more importantly a breaking move |
@stevenlele please don't push new versions of Discord.Discord until Squirrel removes the bug in their installer script. |
In that case it shouldn't be listed in the upgrade list, right? I do understand that this would be an issue for I don't see how this is a breaking move, Discord can still be installed using the traditional methods. It's also not a given that and when the most recent version will land in winget's repo. Furthermore, removing ShiningLight's OpenSSL also finally made their owner aware of the gravity of the issue and to change the installer script to reflect the correct version information. If we just leave it the way it is, Squirrel will never implement that urgently needed fix. So yeah, I think it's important to go this way. It's change, but change for the better! |
It used to be listed separately because of |
Breaking move for anyone that uses
WinGet exists because developers want a one-command solution instead of traditional methods. Why take that ability?
That's subjective, there's no guaranteeing that there will be any movement on the issue even if the package is removed (not factoring if that even is the right way to invoke change). We should not break things for existing WinGet users for something that may not have an effect |
that "update" also has another user consent problem: when launched by WinGet the Discord installer ignores user preferences and forcefully enables autostart with Windows on next logon even if this is autostart is disabled in the Discord app settings itself and in the windows registry / start menu. When Discord is let to handle updates itself then the autostart at logon problem does not happen, but it still does not update the version number in the registry (even if the version is displayed correctly in the app). TL;DR version: because of Discord's relatively good self-update mechanism i'm against removing it from WinGet manifests, it should be kept only for initial installation and then left alone to handle updates itself. (i.e. as it is now with |
But that's common with other apps as well? E.g. Opera if updated through winget will set itself as the default browser. Or Spotify always overwrites its shortcut in the start menu when updated through winget compared to updating from inside the app. |
then if updating those apps causes forced changes of already-expressed user consent refusal then probably those apps should also have i think i could probably add AnyDesk and TeamViewer to that list of badly behaving apps - each update of these forcefully enables a service that runs with SYSTEM level permissions even if the user has manually disabled that service and any start-with-OS setting in the app. (i have long since disabled any sort of auto-start and also pinned Discord/AnyDesk/Teamviewer/PowerShell v7 in WinGet settings to tell it to stop trying to auto-update them - it is still notifying me but no longer tries to update them) |
The UpgradeBehavior has no effect on if it is listed or not. RequreExplicitUpgrade only works if Discord was initially installed through WinGet. If Discord was installed outside of WinGet, then it will show in the list for all upgrades and not require explocit targetting |
After reading through the rest of this thread, I agree with @R-Adrian that removing this application could break several user workflows and that it should remain in the repo for that reason. There are many applications who's self-upgrade doesn’t update the display version, but where using the installer does. WinGet handles this just fine by downloading and re-installing using the installer to ensure everything is up to date. The reason Discord is specifically marked the way it is was due to #90642. Regarding wherher other applications should be marked as requiring explicit upgrade or denying upgrade entirely - that should be taken on a case by case basis with the behavior of each application that is thought to be badly behaving verified not only by the PR submitter but also by others in the community. It is also important to remember that you can exclude applications from being updated on your own systems without removing them from the community repo. Just run If you don’t like the way WinGet handles updates for an application, you can pin it and then WinGet won’t try to upgrade it when you use Close with reason: Known issue; Package should remain in repo |
@mdanish-kh for what it's worth, the value of winget diminishes if there is a bunch of clutter from apps that don't conform to standards. If apps can't populate a simple version string in the right place it's not outlandish to consider whether they should be allowed to participate in the ecosystem. At the very least there should be some real pressure to get an app as popular as Discord to fix an issue on their end (which in turn might end up fixing the issue for other Squirrel-based apps). |
this command works for me |
@tute123456 |
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
Unfortunately, the Discord uses Squirrel.Windows for its installer, which in its current version doesn't update the DisplayVersion information in the registry: Squirrel/Squirrel.Windows#1187
Therefor, until this is resolved, I suggest to remove Discord from the winget repository in the meantime. It doesn't make sense to me to keep a non-working package in the repository.
Steps to reproduce
Actual behavior
DisplayVersion information in the registry is not updated by the package's installer.
Expected behavior
DisplayVersion information should be updated by the installer.
Environment
Screenshots and Logs
No response
The text was updated successfully, but these errors were encountered: