microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.5k stars 1.39k forks source link

MS Sql Management Studio upgrade from 19.2 to 20.1 keep both version and upgrade everytime #4527

Open nolme opened 3 weeks ago

nolme commented 3 weeks ago

Hello,

SSMS upgrade is done at every launch : C:\Windows\System32>winget upgrade --all Nom ID Version Disponible Source

Discord Discord.Discord 1.0.9013 1.0.9144 winget Driver Easy 6.0.0 Easeware.DriverEasy 6.0.0 6.0.0.25691 winget Foxit PDF Reader Foxit.FoxitReader 2024.1.0.23997 2024.2.2.25170 winget Microsoft SQL Server Management Studio - 19.2 Microsoft.SQLServerManagementStudio 19.2 20.1 winget Teams Machine-Wide Installer Microsoft.Teams.Classic 1.6.0.4472 1.7.00.13456 winget Microsoft .NET Runtime - 6.0.30 (x64) Microsoft.DotNet.Runtime.6 6.0.30 6.0.31 winget 6 mises à niveau disponibles.

In the control panel, both versions are listed.

WinGet-Microsoft.SQLServerManagementStudio.20.1-2024-06-03-14-11-38.825.log WinGet-Microsoft.SQLServerManagementStudio.20.1-2024-06-03-14-11-38.825_000_VSTA2019.log

denelon commented 3 weeks ago

We're working on improving side-by-side behaviors.

There is an experimental feature in preview versions that may provide a better experience.

You can run winget features to see which experimental features are available to test/try out. Features can be enabled using winget settings which will open the configuration file in your default .json editor.

nolme commented 2 weeks ago

We're working on improving side-by-side behaviors.

There is an experimental feature in preview versions that may provide a better experience.

You can run winget features to see which experimental features are available to test/try out. Features can be enabled using winget settings which will open the configuration file in your default .json editor.

I download this version : https://github.com/microsoft/winget-cli/releases/tag/v1.9.1551-preview and edited with "Winget settings" :

{
    "$schema": "https://aka.ms/winget-settings.schema.json",

    // For documentation on these settings, see: https://aka.ms/winget-settings
    // "source": {
    //    "autoUpdateIntervalInMinutes": 5
    // },

   "experimentalFeatures": {
       "sideBySide": true
   },
}

now SSMS is not listed anymore and some other apps too :

C:\Windows\System32>winget list --upgrade-available
Nom              ID               Version   Disponible Source
-------------------------------------------------------------
GeoGebra Classic GeoGebra.Classic 6.0.838.0 6.0.843    winget
2 mises à niveau disponibles.

Les packages suivants ont une mise à niveau disponible, mais nécessitent un ciblage explicite pour la mise à niveau :
Nom     ID              Version  Disponible Source
--------------------------------------------------
Discord Discord.Discord 1.0.9013 1.0.9144   winget
denelon commented 2 weeks ago

@nolme is that what you would expect? I want to make sure we don't have any other gaps in the new side-by-side behavior before we make it stable.

nolme commented 2 weeks ago

@nolme is that what you would expect? I want to make sure we don't have any other gaps in the new side-by-side behavior before we make it stable.

ok. I understand now. Thanks for help.