![]() ![]() ![]() ![]() Renamed Get-NewestLink to Get-WingetDownloadUrl. Moved architecture detection into Get-OSInfo. Renamed CheckForUpdates to CheckForUpdate. Forces older file installation for Server 2022 to avoid issues after installing. Added OS version detection checks - detects OS version, release ID, ensures compatibility. ![]() Suppressed Add-AppxProvisionedPackage output. Added output of URL for alternate method. Added Cleanup function to avoid errors when cleaning up temp files. Fixed licensing issue when winget is installed on Server 2022. Added alternate method/URL for dependencies in case the main URL is down. Adjusted CheckForUpdates to include Install-Script instructions and extra spacing. Added extra space after the last line of output. Renamed repo and URL references from winget-installer to winget-install. Adjusted script to fix install issues due to winget changes (thank you ChrisTitusTech). MisterZeus optimized code for readability. Fixed bug where appx package was not being installed. Added CheckForUpdates, Version, Help functions. Hardcoded UI Xaml version 2.8.4 as a failsafe in case the API fails. Fixed minor bug where version 2.8 was hardcoded in URL. Major refactor code, see release notes for more information. Updated version number of dependencies. Changed URI to grab latest release instead of releases and preleases. Implemented function to get the latest version of winget and its license. Get-TempFolder Get-OSInfo Get-GitHubRelease CheckForUpdate Write-Section Get-WingetDownloadUrl Get-WingetStatus Update-PathEnvironmentVariable Handle-Error Cleanup Install-Prerequisite Get-DomainFromUrl Dependencies PowerShell Windows winget win get install installer fix script setup Functions ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |