Repository navigation
Description
Brief description of your issue
After moving the package cache and temporary directories to a Dev-Drive, winget list displays packages with unusual prefixes such as MSIX/ or ARP/. This behavior did not occur before the change.
Additionally, updating or working these packages with prefixes seems impossible. It only affects the packages that were deployed by default during the Windows 11 installation.
VS Code, for example, was install after the Dev-Drive was setup and seems to work correctly:
Microsoft Visual Studio Code (User) XP9KHM4BK9FZ7Q
However, Intel Graphics Command Center, for example, does update or not work correctly. I believe Intel Graphics Command Center was installed by Windows automatically.
Intel® Graphics Command Center MSIX\AppUp.IntelGraphicsExperience_1.100.5536.0_x64__8j3eq9eme6ctt
Below is the output on a fresh Win 11 install.
> winget list
Name Id Version Available Source
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Microsoft OneDrive Microsoft.OneDrive 22.012.0117.0003 24.116.0609.0005 winget
NVIDIA Graphics Driver 456.71 ARP\Machine\X64\{B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_Display.Driver 456.71
Microsoft Update Health Tools ARP\Machine\X64\{C6FD611E-7EFE-488C-A0E0-974C09EF6473} 5.72.0.0
Microsoft Edge Microsoft.Edge 126.0.2592.87 winget
Microsoft Edge Update ARP\Machine\X86\Microsoft Edge Update 1.3.187.41
Microsoft Edge WebView2 Runtime Microsoft.EdgeWebView2Runtime 126.0.2592.87 winget
vs_CoreEditorFonts ARP\Machine\X86\{1851460E-0E63-4117-B5BA-25A2F045801B} 17.7.40001
Realtek High Definition Audio Driver ARP\Machine\X86\{F132AF7F-7BCA-4EDE-8A7C-958108FE7DBC} 6.0.1.8308
Microsoft Visual Studio Code (User) XP9KHM4BK9FZ7Q 1.91.0 msstore
Intel® Graphics Command Center MSIX\AppUp.IntelGraphicsExperience_1.100.5536.0_x64__8j3eq9eme6ctt 1.100.5536.0
Microsoft Clipchamp MSIX\Clipchamp.Clipchamp_3.1.10620.0_neutral__yxz26nhyzhsrt 3.1.10620.0
Cortana MSIX\Microsoft.549981C3F5F10_4.2308.1005.0_x64__8wekyb3d8bbwe 4.2308.1005.0
News MSIX\Microsoft.BingNews_4.55.62231.0_x64__8wekyb3d8bbwe 4.55.62231.0
MSN Weather MSIX\Microsoft.BingWeather_4.53.61401.0_x64__8wekyb3d8bbwe 4.53.61401.0
App Installer Microsoft.AppInstaller 1.23.1791.0 winget
Xbox MSIX\Microsoft.GamingApp_2406.1001.20.0_x64__8wekyb3d8bbwe 2406.1001.20.0
Get Help MSIX\Microsoft.GetHelp_10.2403.20861.0_x64__8wekyb3d8bbwe 10.2403.20861.0
Microsoft Tips MSIX\Microsoft.Getstarted_10.2312.1.0_x64__8wekyb3d8bbwe 10.2312.1.0
HEIF Image Extensions MSIX\Microsoft.HEIFImageExtension_1.1.861.0_x64__8wekyb3d8bbwe 1.1.861.0
HEVC Video Extensions from Device Manufacturer MSIX\Microsoft.HEVCVideoExtension_2.1.1803.0_x64__8wekyb3d8bbwe 2.1.1803.0
Microsoft Edge MSIX\Microsoft.MicrosoftEdge.Stable_126.0.2592.87_neutral__8wekyb3d8… 126.0.2592.87
Microsoft 365 (Office) MSIX\Microsoft.MicrosoftOfficeHub_18.2405.1221.0_x64__8wekyb3d8bbwe 18.2405.1221.0
Solitaire & Casual Games MSIX\Microsoft.MicrosoftSolitaireCollection_4.20.6270.0_x64__8wekyb3… 4.20.6270.0
Microsoft Sticky Notes MSIX\Microsoft.MicrosoftStickyNotes_4.0.6102.0_x64__8wekyb3d8bbwe 4.0.6102.0
Microsoft .Net Native Framework Package 2.2 MSIX\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bb… 2.2.29512.0
Microsoft .Net Native Framework Package 2.2 MSIX\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x86__8wekyb3d8bb… 2.2.29512.0
Microsoft .Net Native Runtime Package 2.2 MSIX\Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe 2.2.28604.0
Microsoft .Net Native Runtime Package 2.2 MSIX\Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x86__8wekyb3d8bbwe 2.2.28604.0
Outlook for Windows MSIX\Microsoft.OutlookForWindows_1.2024.625.600_x64__8wekyb3d8bbwe 1.2024.625.600
Paint MSIX\Microsoft.Paint_11.2404.1020.0_x64__8wekyb3d8bbwe 11.2404.1020.0
Microsoft People MSIX\Microsoft.People_10.2202.100.0_x64__8wekyb3d8bbwe 10.2202.100.0
Power Automate MSIX\Microsoft.PowerAutomateDesktop_1.0.1225.0_x64__8wekyb3d8bbwe 1.0.1225.0
PowerShell MSIX\Microsoft.PowerShell_7.4.3.0_x64__8wekyb3d8bbwe 7.4.3.0
Raw Image Extension MSIX\Microsoft.RawImageExtension_2.3.1221.0_x64__8wekyb3d8bbwe 2.3.1221.0
Snipping Tool MSIX\Microsoft.ScreenSketch_11.2405.32.0_x64__8wekyb3d8bbwe 11.2405.32.0
Windows Security MSIX\Microsoft.SecHealthUI_1000.25992.9000.0_x64__8wekyb3d8bbwe 1000.25992.9000.0
Microsoft Engagement Framework MSIX\Microsoft.Services.Store.Engagement_10.0.23012.0_x64__8wekyb3d8… 10.0.23012.0
Microsoft Engagement Framework MSIX\Microsoft.Services.Store.Engagement_10.0.23012.0_x86__8wekyb3d8… 10.0.23012.0
Store Experience Host MSIX\Microsoft.StorePurchaseApp_22403.1401.1.0_x64__8wekyb3d8bbwe 22403.1401.1.0
Microsoft To Do MSIX\Microsoft.Todos_0.114.7122.0_x64__8wekyb3d8bbwe 0.114.7122.0
Microsoft.UI.Xaml.2.7 Microsoft.UI.Xaml.2.7 7.2208.15002.0 winget
Microsoft.UI.Xaml.2.7 Microsoft.UI.Xaml.2.7 7.2208.15002.0 winget
Microsoft.UI.Xaml.2.8 Microsoft.UI.Xaml.2.8 8.2310.30001.0 winget
Microsoft.UI.Xaml.2.8 Microsoft.UI.Xaml.2.8 8.2310.30001.0 winget
Microsoft Visual C++ 2015 UWP Desktop Runtime Package Microsoft.VCLibs.Desktop.14 14.0.33728.0 winget
Microsoft Visual C++ 2015 UWP Desktop Runtime Package Microsoft.VCLibs.Desktop.14 14.0.33728.0 winget
Microsoft Visual C++ 2015 UWP Runtime Package MSIX\Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe 14.0.30704.0
Microsoft Visual C++ 2015 UWP Runtime Package MSIX\Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe 14.0.33519.0
Microsoft Visual C++ 2015 UWP Runtime Package MSIX\Microsoft.VCLibs.140.00_14.0.33519.0_x86__8wekyb3d8bbwe 14.0.33519.0
VP9 Video Extensions MSIX\Microsoft.VP9VideoExtensions_1.1.451.0_x64__8wekyb3d8bbwe 1.1.451.0
Web Media Extensions MSIX\Microsoft.WebMediaExtensions_1.1.1295.0_x64__8wekyb3d8bbwe 1.1.1295.0
Webp Image Extensions MSIX\Microsoft.WebpImageExtension_1.1.1711.0_x64__8wekyb3d8bbwe 1.1.1711.0
Dev Home Microsoft.DevHome 0.1500.533.0 0.1501.533.0 winget
Microsoft Photos MSIX\Microsoft.Windows.Photos_2024.11070.3017.0_x64__8wekyb3d8bbwe 2024.11070.3017.0
Windows Clock MSIX\Microsoft.WindowsAlarms_1.0.191.0_x64__8wekyb3d8bbwe 1.0.191.0
WindowsAppRuntime.1.2 MSIX\Microsoft.WindowsAppRuntime.1.2_2000.802.31.0_x64__8wekyb3d8bbwe 2000.802.31.0
WindowsAppRuntime.1.2 MSIX\Microsoft.WindowsAppRuntime.1.2_2000.802.31.0_x86__8wekyb3d8bbwe 2000.802.31.0
WindowsAppRuntime.1.3 MSIX\Microsoft.WindowsAppRuntime.1.3_3000.934.1904.0_x64__8wekyb3d8b… 3000.934.1904.0
WindowsAppRuntime.1.3 MSIX\Microsoft.WindowsAppRuntime.1.3_3000.934.1904.0_x86__8wekyb3d8b… 3000.934.1904.0
WindowsAppRuntime.1.4 MSIX\Microsoft.WindowsAppRuntime.1.4_4000.1227.1637.0_x64__8wekyb3d8… 4000.1227.1637.0
WindowsAppRuntime.1.4 MSIX\Microsoft.WindowsAppRuntime.1.4_4000.1227.1637.0_x86__8wekyb3d8… 4000.1227.1637.0
WindowsAppRuntime.1.5 MSIX\Microsoft.WindowsAppRuntime.1.5_5001.159.55.0_x64__8wekyb3d8bbwe 5001.159.55.0
WindowsAppRuntime.1.5 MSIX\Microsoft.WindowsAppRuntime.1.5_5001.159.55.0_x86__8wekyb3d8bbwe 5001.159.55.0
Windows Calculator MSIX\Microsoft.WindowsCalculator_11.2405.2.0_x64__8wekyb3d8bbwe 11.2405.2.0
Windows Camera MSIX\Microsoft.WindowsCamera_2024.2405.19.0_x64__8wekyb3d8bbwe 2024.2405.19.0
Feedback Hub MSIX\Microsoft.WindowsFeedbackHub_1.2405.21481.0_x64__8wekyb3d8bbwe 1.2405.21481.0
Windows Maps MSIX\Microsoft.WindowsMaps_1.0.62.0_x64__8wekyb3d8bbwe 1.0.62.0
Windows Notepad MSIX\Microsoft.WindowsNotepad_11.2405.13.0_x64__8wekyb3d8bbwe 11.2405.13.0
Windows Sound Recorder MSIX\Microsoft.WindowsSoundRecorder_1.0.78.0_x64__8wekyb3d8bbwe 1.0.78.0
Microsoft Store MSIX\Microsoft.WindowsStore_22405.1401.9.0_x64__8wekyb3d8bbwe 22405.1401.9.0
Windows Terminal Microsoft.WindowsTerminal 1.20.11381.0 1.20.11781.0 winget
Windows Package Manager Source (winget) MSIX\Microsoft.Winget.Source_2024.706.516.19_neutral__8wekyb3d8bbwe 2024.706.516.19
Xbox TCUI MSIX\Microsoft.Xbox.TCUI_1.24.10001.0_x64__8wekyb3d8bbwe 1.24.10001.0
Xbox Game Bar Plugin MSIX\Microsoft.XboxGameOverlay_1.54.4001.0_x64__8wekyb3d8bbwe 1.54.4001.0
Game Bar MSIX\Microsoft.XboxGamingOverlay_7.124.5142.0_x64__8wekyb3d8bbwe 7.124.5142.0
Xbox Identity Provider MSIX\Microsoft.XboxIdentityProvider_12.113.31003.0_x64__8wekyb3d8bbwe 12.113.31003.0
Xbox Game Speech Window MSIX\Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_x64__8wekyb3d8bb… 1.21.13002.0
Phone Link MSIX\Microsoft.YourPhone_0.24061.93.0_x64__8wekyb3d8bbwe 0.24061.93.0
Windows Media Player MSIX\Microsoft.ZuneMusic_11.2405.8.0_x64__8wekyb3d8bbwe 11.2405.8.0
Movies & TV MSIX\Microsoft.ZuneVideo_10.22091.10061.0_x64__8wekyb3d8bbwe 10.22091.10061.0
Quick Assist MSIX\MicrosoftCorporationII.QuickAssist_2.0.30.0_x64__8wekyb3d8bbwe 2.0.30.0
Windows Web Experience Pack MSIX\MicrosoftWindows.Client.WebExperience_524.13200.30.0_x64__cw5n1… 524.13200.30.0
Mail and Calendar MSIX\microsoft.windowscommunicationsapps_16005.14326.21970.0_x64__8w… 16005.14326.2197…Steps to reproduce
- Move the Winget package cache and temporary directories to a Dev-Drive.
- Run winget list.
Expected behavior
winget list should display a list of installed packages without unusual prefixes and should allow for updating these packages.
Actual behavior
winget list shows some packages with prefixes like MSIX/ or ARP/ (something I haven't seen before), and these packages cannot be updated.
Environment
> winget --info
Windows Package Manager v1.8.1791
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.3810
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1791.0
Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
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 Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled
Activity
github-actions commentedon Jul 6, 2024
denelon commentedon Jul 8, 2024
What steps did you take to move the cache and temporary directories to a Dev Drive?
florelis commentedon Jul 8, 2024
I don't think this has anything to do with the Dev Drive, but instead it just happened to coincide with an update to winget.
The packages with ARP\ or MSIX\ prefixes are the ones for which winget did not find a matching package in the source and we just list what is installed on the machine. You should be able to uninstall it with winget using that ID (use
\instead of/), but you cannot update it because winget does not have any information about available versions for it.peterlobster commentedon Jul 9, 2024
Demitrius Nelon (@denelon) Thanks for getting back to me. I followed what's documented here by MS. I did end up making a PowerShell script that will automate the creation of the folder on the Dev Drive (if it doesn't exist), then checks if the folder exists locally and checks if there's anything in it, if there is, then it will copy the content to the new folder on the Dev Drive, then checks if the environmental variables already exists and sets up the environmental variables in 'the
userscope' if they don't. If you'd like I think I can share the script (I'm not the only author).Flor Chacón (@florelis) Thanks for the response. Yeah, I thought this too, but I did try to clean install a few times. It just so happens to coincide that every time you move the package cache and the temp directories, it starts to exhibit this behavior. However, it's hard to say, because it seems that
wingetdoesn't work out of the box on a clean Windows 11 install. It only works after you run Windows Update. That said, what I did on the last clean install was disconnect the network and run the setup on the Dev Drive immediately after the completion of the install. However, it still ended having the same issue.Flor Chacón (@florelis) Great. That's at least still somewhat helpful. Thank you. Good to know.
denelon commentedon Jul 9, 2024
The Lobster (@peterlobster) that would be helpful. If I can reproduce what's happening, maybe we can figure out a fix or a temporary work around.
peterlobster commentedon Jul 9, 2024
Demitrius Nelon (@denelon) Ok. My colleague Randall (@ran-dall), who is the other main author, told me to mention these are very experimental but so far, they've been working for us. FWIW we do plan on open sourcing the scripts once we've tested everything, as we find them useful.
So, we have two main scripts we're working with,
SetupDevDrive.ps1andSetupDevDrivePackageCache.ps1. Both are affixed below:SetupDevDrive.ps1Script
SetupDevDrivePackageCache.ps1Script
(Also, to note, both scripts will try to automatically find the Dev Drive)
I should also mention that we also manually add a user with full control over the directories to the Dev Drive. However, beyond that, those are the steps to replicate.
denelon commentedon Jul 10, 2024
I noticed something subtle in what was stated about running Windows Update and WinGet being updated on a fresh Windows 11 install.
Currently, WinGet is updated via the Microsoft Store independent of what Windows Update is doing. It's likely the version of WinGet on a fresh install is out of date.
If it's WinGet 1.6 or newer, WinGet can upgrade itself via the community repository with
winget upgrade --all, the other options are to use the store client to update all store packages (or selectively, App Installer). You could also use the Microsoft.WinGet.Client PowerShell module and runRepair-WinGetPackageManager -Force -Latestto get the latest stable version.peterlobster commentedon Jul 11, 2024
Demitrius Nelon (@denelon) When I try to run
winget upgrade --allon a fresh Windows 11 install, I get no output.Demitrius Nelon (@denelon) This is a clever idea (one I considered before, but wasn't sure if it would have any result), however, also this produced no output on a fresh Windows 11 install.
peterlobster commentedon Jul 13, 2024
Demitrius Nelon (@denelon) Update: So I tried uninstalling and reinstalling the packages like you suggested, turns out, even if you do reinstall, the same problem exists.
denelon commentedon Jul 17, 2024
We made some changes in the client for 1.8 and 1.9-preview to handle packages installed side-by-side. The packages starting with prefixes like "ARP" or "MSIX" are packages that are installed on the device, but not matching with any of WinGet's configured sources.
Those packages may be removable using
winget uninstall <package ID>or repairable usingwinget repair <package ID>, but WinGet has no way to update them since they aren't correlated with any configured source.peterlobster commentedon Jul 18, 2024
Demitrius Nelon (@denelon) My apologies for not being clearer. So, I uninstalled
winget uninstall MSIX\SpotifyAB.SpotifyMusic_1.242.290.0_x64__zpdnekdrzrea0which uninstalled Spotify. I went back to the MS Store and downloaded it directly, and onwinget list, I still see...(I also just reconfirmed the behavior)
Thank you for the tip using `winget repair , however, it doesn't seem to have any notable effect on the issue in this case.
denelon commentedon Jul 24, 2024
I believe this is a case of Spotify having an age rating so it's not available to WinGet via the REST source "msstore". If WinGet was used to install a package via the "msstore" source, then the source would match via
winget list. The "msstore" source doesn't offer the version information for newer versions of packages available to WinGet via the REST endpoint so it shows as "Unknown" as the latest version available. That is the reason WinGet doesn't offer updates to "msstore" packages.There are several related issues:
We're working on the problem of how to handle the additional requirements for offering version information to WinGet for packages in the "msstore" source. There is work to be done by both teams. On the WinGet side, we need to provide additional information to the "msstore" source to help identify which versions of packages are applicable for the device and the user MSA logged into the store, and their REST source would need to be able to offer the specific version that applies in that case.
The Microsoft Store shows a "TEEN" rating for Spotify and the "msstore" REST source only offers content rated "E for Everyone" to the WinGet CLI.
mce-hs commentedon Aug 16, 2024
I experienced this problem of multiple MSIX after a recent Windows update.

Not sure if it could be related.
davidldennison commentedon Aug 26, 2024
Demitrius Nelon (@denelon) I've actually had this for a while now. It changed right around when we were testing V2 of the index. I started to notice that packages installed by Winget were all the sudden not being noticed by Winget.
I saw some commits where it was recommended to uninstall source, to which I did, but no luck as it comes right back. I haven't made an issue yet because I thought it was my error so I was going to try and fix it first. Any chance these could be related?