Closed YouveGotMeowxy closed 2 weeks ago
Can you please share the Command-line output of the failed operation?
Can you please share the Command-line output of the failed operation?
Happy to. How do I find it? lol
The only feedback I received from the installation was in that popup dialog. And then I also pasted the 2 log files.
Clicking here will reveal the command-line output
Oops! Sorry I missed that. lol
Starting package update operation for package id=Logitech.OptionsPlus with Manager name=Winget
Given installation options are <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=True;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Process Executable : C:\Users\Olympus Machine\AppData\Local\Microsoft\WindowsApps\winget.exe
Process Call Arguments : update --id "Logitech.OptionsPlus" --exact --source winget --accept-source-agreements --disable-interactivity --interactive --include-unknown --accept-package-agreements --force
Working Directory : C:\Users\Olympus Machine
Process Start Time : Sat 11 9 2024 6:35:08 PM
-
-
\
|
Found Logi Options+ [Logitech.OptionsPlus] Version 1.84.641293
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
- Packages
Microsoft.VCRedist.2015+.x64
Successfully verified installer hash
Starting package install...
The installer will request to run as administrator, expect a prompt.
-
\
|
/
-
\
|
/
-
Installer failed with exit code: 87
Process Exit Code : -1978335226
Process End Time : Sat 11 9 2024 6:35:14 PM
can you reproduce this issue via running winget.exe update --id "Logitech.OptionsPlus" --exact --source winget --accept-source-agreements --disable-interactivity --interactive --include-unknown --accept-package-agreements --force
?
Noticing the above log says it's expecting Admin, I just tried running the update as Admin, and it shows a different error, but still based on the same issue of the Windows user name having a space in it:
In the dialog window it now shows:
"Machine\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Logitech.OptionsPlus.1.84.641293-2024-11-09-18-39-01.923.log" is an invalid argument. Type /help to see the list of valid arguments.
and the Output:
Starting package update operation for package id=Logitech.OptionsPlus with Manager name=Winget
Given installation options are <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=True;RunAsAdministrator=True;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Process Executable : C:\Program Files\UniGetUI\Assets\Utilities\gsudo.exe
Process Call Arguments : "C:\Users\Olympus Machine\AppData\Local\Microsoft\WindowsApps\winget.exe" update --id "Logitech.OptionsPlus" --exact --source winget --accept-source-agreements --disable-interactivity --interactive --include-unknown --accept-package-agreements --force
Working Directory : C:\Users\Olympus Machine
Process Start Time : Sat 11 9 2024 6:38:59 PM
-
-
\
|
Found Logi Options+ [Logitech.OptionsPlus] Version 1.84.641293
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
- Packages
Microsoft.VCRedist.2015+.x64
Successfully verified installer hash
Starting package install...
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
Installer failed with exit code: 87
Process Exit Code : -1978335226
Process End Time : Sat 11 9 2024 6:39:15 PM
can you reproduce this issue via running
winget.exe update --id "Logitech.OptionsPlus" --exact --source winget --accept-source-agreements --disable-interactivity --interactive --include-unknown --accept-package-agreements --force
?
Yes, it did the exact same thing when manually run via the command-line:
C:\Users\Olympus Machine>winget.exe update --id "Logitech.OptionsPlus" --exact --source winget --accept-source-agreements --disable-interactivity --interactive --include-unknown --accept-package-agreements --force
Found Logi Options+ [Logitech.OptionsPlus] Version 1.84.641293
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
- Packages
Microsoft.VCRedist.2015+.x64
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 87
Google-Fu is telling me exit code 87 is a parameter error.
Then I am afraid the issue is caused by WinGet, and not by UniGetUI. What happens is that UniGetU calls WinGet with certain parameters, which at its point makes WinGet call the actual installer with the appropiate parameters so the program gets installer. However, it seems the package is misconfigured, and you should report this to microsoft/winget-pkgs
Then I am afraid the issue is caused by WinGet, and not by UniGetUI. What happens is that UniGetU calls WinGet with certain parameters, which at its point makes WinGet call the actual installer with the appropiate parameters so the program gets installer. However, it seems the package is misconfigured, and you should report this to microsoft/winget-pkgs
ok, tyvm for investigating the issue. 2 quick questions:
- Just out of curiosity, do you already currently pass the path to the other apps wrapped in quotes?
The command I asked you to run on a terminal is the command UniGetUI passes to WinGet.
- Is this a Winget issue, or an issue with Logitech's installer?
This is likely to be an issue with how the Logitech Installer has been published to WinGet
Please confirm these before moving forward
UniGetUI Version
3.13
Windows version, edition, and architecture
Both win10 and win11
Describe your issue
My Windows user name has a space in it. "Olympus Machine". The log UG log shows it's full path properly:
However, when passing that path to an installer, in this case Logi Options+ it's not passing that path wrapped in double quotes, so the installer thinks the path is actually:
and thus fails installation.
Steps to reproduce the issue
Install the above mentioned app and try it yourself. :)~
UniGetUI Log
Package Managers Logs
Relevant information
Seems like a pretty simple fix; just pass the path to the installers wrapped in double quotes.
Screenshots and videos
No response