WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
87 is the exit code that's being received from the logitech installer. WinGet is just passing it through. In order to show a success, WinGet expects the exit code 0
Brief description of your issue
I'm performing installation using this command:
winget.exe install Logitech.OptionsPlus --accept-source-agreements --accept-package-agreements --override "/sso no /flow no /analytics no /log C:\ProgramData\Microsoft\IntuneManagementExtension\Logs /quiet" --force
I'm trying to uninstall the software using this command:
winget.exe install Logitech.OptionsPlus --accept-source-agreements --accept-package-agreements --override "/sso no /flow no /analytics no /log C:\ProgramData\Microsoft\IntuneManagementExtension\Logs /quiet /uninstall" --force
In both cases the process succeeds (software shows up or disappears from the device) but WinGet is reporting a failure.
Steps to reproduce
Run one of the mentioned commands.
Expected behavior
Installation or removal succeeds.
Actual behavior
Receiving the message:
Installer failed with exit code: 87
Environment