asheroto / winget-install

Install winget tool using PowerShell! Prerequisites automatically installed. Works on Windows 10/11 and Server 2019/2022.
https://bit.ly/winget-install
GNU General Public License v3.0
272 stars 33 forks source link

Check if WinGet is installed #7

Closed LordMessi closed 1 year ago

LordMessi commented 1 year ago

Would be nice to add some code to get if WinGet is installed - and if so is it the latest version.

If WinGet is installed, and it's the latest version, just write it and exit. If not installed or not latest version install/update.

asheroto commented 1 year ago

Good idea. I'll work on this. Thanks.