microsoft / microsoft/winget-cli

Exit code 87 when using /override params on Logitech.OptionsPlus

Open
#4,722 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-External Issue-Bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.