Improve ps1 detection script to correctly parse winget output #177
mdurini-swisscom
started this conversation in
Ideas
Replies: 1 comment 6 replies
-
Can you explain what has changed with this new version? What where you trying to solve? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to deploy Anydesk 9.0.4 published with this command
new-wtWingetPackage -PackageId AnyDesk.AnyDesk -PreferedInstaller exe -PackageFolder "XXXXX\WingetPackages\" | Deploy-WtWin32App
and I got the install failure notification but the application was installed. I checked the output of the script and I saw that Anydesk version was "ad", causing the exception of the script
I found a different way to parse the winget output (thanks to alkampfergit script)
Beta Was this translation helpful? Give feedback.
All reactions