Closed as not planned
Description
Please confirm these before moving forward
- I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue
Installation issue.
Brief description of your issue
As of 2024/10/02, PowerShell 7.2.6 gets installed every time I try to use WinGet to install it in the user scope. I have tested this on two computers (one running Win 11 24H2) and in Windows Sandbox.
winget install --id Microsoft.PowerShell --source winget --force --scope user
Steps to reproduce
Run:
winget install --id Microsoft.PowerShell --source winget --force --scope user
Actual behavior
PowerShell 7.2.6 is installed. Here is the output from running this in Windows Sandbox:
PS C:\Users\WDAGUtilityAccount\AppData\Local\Temp> winget install --id Microsoft.PowerShell --source winget --scope user
Found PowerShell [Microsoft.PowerShell] Version 7.2.6.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
██████████████████████████████ 100%
Successfully installed
Expected behavior
Install the latest stable release of PowerShell (currently 7.4.5).
Environment
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26100.1742
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.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
Screenshots and Logs
2024-10-02 13:24:21.892 [CORE] WinGet, version [1.8.1911], activity [{7793C402-F558-4299-BEDB-02743E20E1E7}]
2024-10-02 13:24:21.893 [CORE] OS: Windows.Desktop v10.0.26100.1742
2024-10-02 13:24:21.893 [CORE] Command line Args: "C:\Users\WDAGUtilityAccount\AppData\Local\Microsoft\WindowsApps\winget.exe" install --id Microsoft.PowerShell --source winget --scope user
2024-10-02 13:24:21.893 [CORE] Package: Microsoft.DesktopAppInstaller v1.23.1911.0
2024-10-02 13:24:21.893 [CORE] IsCOMCall:0; Caller: winget-cli
2024-10-02 13:24:21.904 [CLI ] WinGet invoked with arguments: 'install' '--id' 'Microsoft.PowerShell' '--source' 'winget' '--scope' 'user'
2024-10-02 13:24:21.904 [CLI ] Found subcommand: install
2024-10-02 13:24:21.905 [CLI ] Leaf command to execute: root:install
2024-10-02 13:24:21.907 [CLI ] Executing command: install
2024-10-02 13:24:21.914 [REPO] Named source requested, found: winget
2024-10-02 13:24:21.915 [CLI ] Created authentication arguments. Mode: silentPreferred, Account:
2024-10-02 13:24:21.926 [CORE] Did not find extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-10-02 13:24:21.928 [CORE] Did not find extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-10-02 13:24:24.205 [CORE] Downloading to path: C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix
2024-10-02 13:24:24.205 [CORE] Started applying motw to C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix with zone: 3
2024-10-02 13:24:24.209 [CORE] Finished applying motw
2024-10-02 13:24:24.209 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/source2.msix
2024-10-02 13:24:24.209 [CORE] Default proxy is not set
2024-10-02 13:24:24.628 [CORE] Download completed.
2024-10-02 13:24:24.824 [CORE] Started trust validation of msix at: C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix
2024-10-02 13:24:24.942 [CORE] Result for certificate chain validation of Microsoft origin: 0
2024-10-02 13:24:25.084 [CORE] Result for trust info validation of the msix: 0
2024-10-02 13:24:25.084 [CORE] Starting AddPackage operation #0: file:///C:/Users/WDAGUtilityAccount/AppData/Local/Temp/WinGet/Microsoft.Winget.Source_8wekyb3d8bbwe.msix SkipSmartScreen: 1
2024-10-02 13:24:25.085 [CORE] Begin waiting for operation #0
2024-10-02 13:24:25.085 [CORE] Begin blocking for operation #0
2024-10-02 13:24:25.782 [CORE] Successfully completed #0
2024-10-02 13:24:25.831 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-10-02 13:24:25.831 [CORE] Found matching extension.
2024-10-02 13:24:25.901 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.1002.1657.58_neutral__8wekyb3d8bbwe\Public\index.db'
2024-10-02 13:24:25.902 [REPO] Opened SQLite Index with version [2.0], last write [2024-10-02 11:55:46.000]
2024-10-02 13:24:25.967 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-10-02 13:24:25.978 [REPO] Reading MSI UpgradeCodes
2024-10-02 13:24:26.106 [REPO] Creating new SQLite Index with version [Latest] at 'C:\Users\WDAGUtilityAccount\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-10-02 13:24:26.163 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/packages/Microsoft.PowerShell/720f33f2/versionData.mszyml
2024-10-02 13:24:26.343 [CORE] Download hash: 720f33f280cf9b092b771993c72cced7f2fad08dadbee3766029769b97c4e849
2024-10-02 13:24:26.343 [CORE] Download completed.
2024-10-02 13:24:26.545 [REPO] Found multiple results for Id [Microsoft.PowerShell] in tracking catalog for: winget
2024-10-02 13:24:26.550 [CLI ] Found one app. App id: Microsoft.PowerShell App name: PowerShell
2024-10-02 13:24:26.564 [REPO] Attempting to open pinning database: C:\Users\WDAGUtilityAccount\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-10-02 13:24:26.565 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.4.5.0/2512
2024-10-02 13:24:26.596 [CORE] Download hash: be4c7e93e6e7d3c0ee2da33bb6c8109ff46ac9d3ac357cfbde9a15fd0083eab6
2024-10-02 13:24:26.596 [CORE] Download completed.
2024-10-02 13:24:26.599 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.4.4.0/39ad
2024-10-02 13:24:26.626 [CORE] Download hash: f796f110967ef69b78d3679cb12fa777ad2556cc3f01d39549db3e473f96e974
2024-10-02 13:24:26.626 [CORE] Download completed.
2024-10-02 13:24:26.630 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.4.3.0/4514
2024-10-02 13:24:26.777 [CORE] Download hash: 1b11ec05c87a320fe497c6763730e31b836f074609848e0b1fac23b5c0969da0
2024-10-02 13:24:26.777 [CORE] Download completed.
2024-10-02 13:24:26.781 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.4.2.0/f5da
2024-10-02 13:24:26.811 [CORE] Download hash: 93b4402703b079ef0b577edfdbae264248a66bfa833ea4a79f395e683183b7cf
2024-10-02 13:24:26.811 [CORE] Download completed.
2024-10-02 13:24:26.816 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.4.1.0/76e2
2024-10-02 13:24:26.864 [CORE] Download hash: 46dc429beb9bf3c1e1b71442efe7dc6a87b092dfc6f5612b026202625555987d
2024-10-02 13:24:26.864 [CORE] Download completed.
2024-10-02 13:24:26.868 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.4.0.0/3c33
2024-10-02 13:24:27.017 [CORE] Download hash: 59f7644d59abf8bd65954f6d0d721eea16770f06e33c7775acb4f078f39da6e4
2024-10-02 13:24:27.017 [CORE] Download completed.
2024-10-02 13:24:27.021 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.3.11.0/3c33
2024-10-02 13:24:27.182 [CORE] Download hash: 3bb5957471320f00a448e8b6cfe73234308a917754dc53da1329dd69d8c6a4de
2024-10-02 13:24:27.182 [CORE] Download completed.
2024-10-02 13:24:27.187 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.3.10.0/3c33
2024-10-02 13:24:27.357 [CORE] Download hash: 2aa9062f14f93b63cafad2f47ae3d22ab6c3ccf7ef51bea140a1834cbaf94240
2024-10-02 13:24:27.357 [CORE] Download completed.
2024-10-02 13:24:27.359 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.3.9.0/3c33
2024-10-02 13:24:27.511 [CORE] Download hash: 4a6d04b6030e2a0de959707a626d4065df39d6034383911cf0b3a283e0ac6575
2024-10-02 13:24:27.511 [CORE] Download completed.
2024-10-02 13:24:27.515 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.3.8.0/3c33
2024-10-02 13:24:27.684 [CORE] Download hash: 5aff1d5574b0a9a27278f0be88258a74b1c47997753c835a54c3f735f8fd10e1
2024-10-02 13:24:27.684 [CORE] Download completed.
2024-10-02 13:24:27.688 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.3.7.0/3c33
2024-10-02 13:24:27.825 [CORE] Download hash: d4ce3b9e2dfcebe770a0f473b780801b47b68b2597c74817b3974747570231ca
2024-10-02 13:24:27.825 [CORE] Download completed.
2024-10-02 13:24:27.828 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.3.6.0/3c33
2024-10-02 13:24:27.982 [CORE] Download hash: f404f576a294f67fcf13c9dc72fc2147d7f399874b47b8deac740547fac81429
2024-10-02 13:24:27.982 [CORE] Download completed.
2024-10-02 13:24:27.984 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.3.5.0/3c33
2024-10-02 13:24:28.165 [CORE] Download hash: 777bbf96590be84bdfedd397b3449e07e3e94a62fd36db4b9501a2cecd83e2c3
2024-10-02 13:24:28.165 [CORE] Download completed.
2024-10-02 13:24:28.168 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.3.4.0/3c33
2024-10-02 13:24:28.302 [CORE] Download hash: 37f23c2b96e5537c37560e5db34e1802f51c4d87c5e1047cb9c51944dddba2e7
2024-10-02 13:24:28.302 [CORE] Download completed.
2024-10-02 13:24:28.307 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.3.3.0/3c33
2024-10-02 13:24:28.484 [CORE] Download hash: cac8631427565b371012a4b9f91e8259e3364761cd93f5287773d5044e98972f
2024-10-02 13:24:28.484 [CORE] Download completed.
2024-10-02 13:24:28.489 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.3.2.0/3c33
2024-10-02 13:24:28.640 [CORE] Download hash: 91eb00258a837d1ca125445e8a55d382927193574f5282738e75514ae73d447f
2024-10-02 13:24:28.640 [CORE] Download completed.
2024-10-02 13:24:28.644 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.3.1.0/3c33
2024-10-02 13:24:28.801 [CORE] Download hash: f3e5f972e10072c52403fa76193431ef74f95a458573e0ee243a0a15dad4eebc
2024-10-02 13:24:28.801 [CORE] Download completed.
2024-10-02 13:24:28.804 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.3.0.0/3c33
2024-10-02 13:24:28.961 [CORE] Download hash: 75be4e31266da648a29b8a67fa1db3733070b6ed50f13db3920266b3d24869b5
2024-10-02 13:24:28.962 [CORE] Download completed.
2024-10-02 13:24:28.967 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.23.0/a6d3
2024-10-02 13:24:29.113 [CORE] Download hash: df4f5a0e352169525614b8683f0852ff6f5bb9924d12adb8082a43b40d057a41
2024-10-02 13:24:29.113 [CORE] Download completed.
2024-10-02 13:24:29.117 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.22.0/b92a
2024-10-02 13:24:29.276 [CORE] Download hash: 856a6d07f40cf50e73f446f672b4c9bb258542746d15e3882a44987894fe8384
2024-10-02 13:24:29.277 [CORE] Download completed.
2024-10-02 13:24:29.281 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.21.0/3c33
2024-10-02 13:24:29.436 [CORE] Download hash: fd935a1a97aaa074e6b3440dc2dc56ce5df7d1a179f90cb58cf387f2a17df0bc
2024-10-02 13:24:29.437 [CORE] Download completed.
2024-10-02 13:24:29.439 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.18.0/3c33
2024-10-02 13:24:29.619 [CORE] Download hash: 6f3081523ed00f39e0130a3bba97208220fc8691c12036d2f14907d1201e0e4f
2024-10-02 13:24:29.619 [CORE] Download completed.
2024-10-02 13:24:29.621 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.17.0/3c33
2024-10-02 13:24:29.872 [CORE] Download hash: f6b6e6c92515a086c59227dfe0c5fe439cee54e1793eb9c06f7b8cb88a6cbcb7
2024-10-02 13:24:29.872 [CORE] Download completed.
2024-10-02 13:24:29.874 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.16.0/3c33
2024-10-02 13:24:30.048 [CORE] Download hash: 22d5eec90c71f2acbb0e43a3bc6ccd3a00b2b1a8b307b38b329a8ebbb81949fc
2024-10-02 13:24:30.048 [CORE] Download completed.
2024-10-02 13:24:30.051 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.14.0/3c33
2024-10-02 13:24:30.217 [CORE] Download hash: 38192acf524ff353ca991875fa04779ada2226f059cf2ce7d43ffa08314f9875
2024-10-02 13:24:30.217 [CORE] Download completed.
2024-10-02 13:24:30.219 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.13.0/3c33
2024-10-02 13:24:30.391 [CORE] Download hash: b3799d433c88fa061f81bf1988b77717b38382af498278ac22f04e55e17f64ad
2024-10-02 13:24:30.391 [CORE] Download completed.
2024-10-02 13:24:30.393 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.12.0/3c33
2024-10-02 13:24:30.577 [CORE] Download hash: 883642104bc607a090b8c5cd9519a4249fd65301ecf983e63e28dcb9556d1d59
2024-10-02 13:24:30.577 [CORE] Download completed.
2024-10-02 13:24:30.579 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.10.0/3c33
2024-10-02 13:24:30.751 [CORE] Download hash: 242e21bcbdc160923b631613a02385283e59329df2bae0f6e354150b167b571d
2024-10-02 13:24:30.751 [CORE] Download completed.
2024-10-02 13:24:30.752 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.9.0/3c33
2024-10-02 13:24:30.901 [CORE] Download hash: 838731014301bec39f77f31b03d8c5db2f209ad2f1b7455657496dafc41dd8da
2024-10-02 13:24:30.901 [CORE] Download completed.
2024-10-02 13:24:30.903 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.8.0/3c33
2024-10-02 13:24:31.077 [CORE] Download hash: ac60a02262ba666bcda57c6d03d14131de2f6b43af897a87a77192db9e37585c
2024-10-02 13:24:31.077 [CORE] Download completed.
2024-10-02 13:24:31.079 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.7.0/3c33
2024-10-02 13:24:31.327 [CORE] Download hash: 758cf32f959ca8d51fb379a21225bcbfc87e8449d92b0cf72e7bcd7b3553812d
2024-10-02 13:24:31.327 [CORE] Download completed.
2024-10-02 13:24:31.329 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.2.6.0/3c33
2024-10-02 13:24:31.478 [CORE] Download hash: c4903f773c0cbdcb94ee0140f8e498e2cb68465160de7aa969e3dd3ce9e81e9a
2024-10-02 13:24:31.478 [CORE] Download completed.
2024-10-02 13:24:31.480 [CLI ] Manifest fields: Name [PowerShell], Version [7.2.6.0]
2024-10-02 13:24:32.321 [CLI ] Installer hash verified
2024-10-02 13:24:32.493 [CORE] Starting StagePackageAsync operation #1: https://github.com/PowerShell/PowerShell/releases/download/v7.2.6/PowerShell-7.2.6-win.msixbundle
2024-10-02 13:24:32.494 [CORE] Begin waiting for operation #1
2024-10-02 13:24:32.494 [CORE] Begin blocking for operation #1
2024-10-02 13:25:40.988 [CORE] Successfully completed #1
2024-10-02 13:25:40.988 [CORE] Starting RegisterPackageByFullNameAsync operation #2: Microsoft.PowerShell_2022.810.2058.0_neutral_~_8wekyb3d8bbwe
2024-10-02 13:25:41.041 [CORE] Begin waiting for operation #2
2024-10-02 13:25:41.041 [CORE] Begin blocking for operation #2
2024-10-02 13:25:42.176 [CORE] Successfully completed #2
2024-10-02 13:25:42.251 [REPO] Opening database for ReadWrite at 'C:\Users\WDAGUtilityAccount\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-10-02 13:25:42.256 [REPO] Opened SQLite Index with version [1.7], last write [2024-10-02 13:24:26.000]
2024-10-02 13:25:42.420 [CLI ] Leaf command succeeded: root:install