-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.PowerShellIssue related to WinGet PowerShell Module or cmdletIssue related to WinGet PowerShell Module or cmdlet
Description
Relevant area(s)
WinGet CLI, PowerShell Module
Relevant command(s)
No response
Brief description of your issue
Install-WinGetPackage downloads the package installer for the package, even when the package is already up-to-date. winget install does not do this.
Steps to reproduce
Update-WinGetPackage Microsoft.PowerShell- Re-run
Update-WinGetPackage Microsoft.PowerShell- Notice how a download progress bar appears
- Compare with
winget install Microsoft.PowerShell
Expected behavior
It first checks if the package is up-to-date, and only downloads the installer if it is not.
Actual behavior
It always downloads the installer.
Environment
Windows Package Manager v1.12.350
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22000.2538
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.27.350.0
[...]
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy DisabledMetadata
Metadata
Assignees
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.PowerShellIssue related to WinGet PowerShell Module or cmdletIssue related to WinGet PowerShell Module or cmdlet