microsoft / microsoft/winget-cli
Exit code 87 when using /override params on Logitech.OptionsPlus
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
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
Windows Package Manager v1.8.1911
Windows: Windows.Desktop v10.0.22631.3737
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the winget.exe install and uninstall commands for Logitech.OptionsPlus with the supplied /override parameters. Trace how the CLI interprets installer exit code 87 and determine the expected success condition; done means both operations report success when the software state changes as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100