-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install-WinGetPackage
reinstalling packages
#3455
Comments
tested this on both 1.5.1881 and 1.6.1573-preview |
This is definitely still an issue:
Another, related problem is that |
Latest PowerShell module v1.7.10661, this is still an issue. |
Tested this on |
From the source it's seems just passing all the args to the winget client but trying with same args used with ps module with winget resulting in different result. if($Result.count -eq 1 -or $Local) {
& "WinGet" $WinGetInstallArgs
$Result = ""
} |
Brief description of your issue
install-WinGetPackage
installing the package regardless installation status, update availability. I'm aware there thatUpdate-WinGetPackage
cmdlet is available but install cmdlet should also consider the installation status.Steps to reproduce
I'm using npp as base here.
check application status
Try installing with
winget
clienttry same with
install-WinGetPackage
Expected behavior
Skip install if no update available
Actual behavior
Reinstalling the package
Environment
The text was updated successfully, but these errors were encountered: