AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
User Settings %LOCALAPPDATA% \Packages \Microsoft.DesktopAppInstaller_8wekyb3d8bbwe \LocalState \settings. Logs %LOCALAPPDATA% \Packages \Microsoft.DesktopAppInstaller_8wekyb3d8bbwe \LocalState \DiagOutputDir Package: Microsoft.DesktopAppInstaller v.0 Status : NoApplicableInstallers EnvironmentĬopyright (c) Microsoft Corporation. Status : NoApplicableInstallers Expected behaviorĪn alternative Exception speciic to Winget Actual behavior VERBOSE: Performing the operation "Update-WinGetPackage" on target "Burp Suite Community Edition Version 2023.10.2.3".ĮxtendedErrorCode : (0x8A150010): 0x8A150010 Update-WinGetPackage -Name "Burp Suite Community Edition" -Verbose | Format-List It is a well known situation that teams are isolated within Microsoft, but not following internal guidelines for official MS products is not a proper way of engineering. The error should be thrown using ThrowTerminatingError according to the Error Reporting Concepts document. The current design is against PowerShell guidelines. Now, the said cmdlet does not throw an error even though there is an exception thrown. In this example, NoApplicableInstallersException. It would be handled better if it was handled not by the status property but as a separate Exception type. The winget client uses the underlying COMException in case of failures and propagates as is while giving the detail in the status property. VERBOSE: Performing the operation Update-WinGetPackage on target Burp Suite Community Edition Version 2023.10.2.3.
0 Comments
Read More
Leave a Reply. |