Göran Axel Johannesson

Results 66 comments of Göran Axel Johannesson

Hello @temeyers! The custom (**mods**) feature is somewhat my responsibility/idea so I'm writing this first reply. The foremost use of it is via https://github.com/Romanitho/Winget-Install and it can be used to...

The custom (**mods**) feature could be expanded to include "**-pre**" and "**-post**" scripts too **but** one problem is that when the upgrade loop in **WAU** runs you can't pause the...

...and that affects **Winget-Install** and **Winget-Install-GUI** too, or...?

...I think this is the solution (?): `$ResolveWingetPath = Resolve-Path "C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_*_x64__8wekyb3d8bbwe" | Sort-Object -Property {$_.Name -as [int]}`

It sorts the array so that the **1.18.2091.0** is the last one, not **1.18.431.0** Try it out... Edit: changed it to `-Property {$_.Path -as [int]}`

https://stackoverflow.com/questions/33664892/sort-directory-name-using-powershell#comment55103191_33664892

No, but **-as** is the keyword, it seems to sort the string and then the numbers in the strin as INT...

Nope, too busy with WAU in my implementation at work ;)

> If it is used it will auto update at some point. We have a lot of installs that are not nessearily used that oftern and I'd like to patch...

> For me it woks. But with WAU 1.15.0 as Firefox is detected as User app. Very strange then...