-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Copy link
Labels
Command-UpgradeIssue related to WinGet UpgradeIssue related to WinGet UpgradeIn-PRIssue related to a PRIssue related to a PRIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.PortableIssue related to portable packageIssue related to portable package
Milestone
Description
Brief description of your issue
Portable packages installed in user scope are removed from PATH after upgrading them.
Steps to reproduce
winget install yt-dlp.yt-dlp -v 2023.11.16→ yt-dlp added to PATHwinget install gyan.ffmpeg -v 6.1→ ffmpeg added to PATHwinget upgrade yt-dlp.yt-dlp→ yt-dlp removed from PATHwinget upgrade gyan.ffmpeg→ ffmpeg removed from PATH
Expected behavior
Portable packages should not be removed from PATH after upgrading them.
Actual behavior
Portable packages are removed from PATH after upgrading them.
Environment
Windows Package Manager (Preview) v1.7.3481-preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.2861
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.3481.0
Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
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
Admin Setting State
--------------------------------------------------
LocalManifestFiles Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride DisabledAzureArmageddon, o-l-a-v, curioussabhi, josh-hemphill, phuisc1892367 and 45 morejosh-hemphill, jabdinghoff, qwasfun, billwieboldt, MulverineX and 2 more
Metadata
Metadata
Assignees
Labels
Command-UpgradeIssue related to WinGet UpgradeIssue related to WinGet UpgradeIn-PRIssue related to a PRIssue related to a PRIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.PortableIssue related to portable packageIssue related to portable package
Type
Projects
Status
Released