Skip to content

[BUG] Incorrect version saved #3307

@Krzysiu

Description

@Krzysiu

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions.
  • This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

3.1.6

Windows version, edition, and architecture

Win 10 Pro 22H2 19045.5440 Windows Feature Experience Pack 1000.19061.1000.0

Describe your issue

Could be duplicate of #3157, but probably it's different problem. Wrong version gets saved, so uninstall is not possible.

Steps to reproduce the issue

  1. Install Autoruns 14.1 (sic!) from WinGet module, it installs 14.10
  2. Uninstall it - it fails, because it tries to remove 14.1, but 14.10 is present (manual winget uninstall --id "Microsoft.Sysinternals.Autoruns" --exact --source winget --accept-source-agreements --disable-interactivity --version "14.10" --silent (take note replaced 14.1 with 14.10) suceeds.

UniGetUI Log

[15.02.2025 20:53:04] Loaded operation parameters for package id=Microsoft.Sysinternals.Autoruns on manager Winget and operation Install: install --id "Microsoft.Sysinternals.Autoruns" --exact --source winget --accept-source-agreements --disable-interactivity --silent --accept-package-agreements --force
[15.02.2025 20:53:44] Found 0 screenshots for package Id=Microsoft.Sysinternals.Autoruns
[15.02.2025 20:53:44] Found 1 versions for package Id=Microsoft.Sysinternals.Autoruns on manager Winget
[15.02.2025 20:53:49] Loaded details for package Microsoft.Sysinternals.Autoruns on manager Winget
[15.02.2025 20:53:49] Loaded operation parameters for package id=Microsoft.Sysinternals.Autoruns on manager Winget and operation Install: install --id "Microsoft.Sysinternals.Autoruns" --exact --source winget --accept-source-agreements --disable-interactivity --silent --accept-package-agreements --force
[15.02.2025 20:54:06] Parallel operation limit not set, defaulting to 1
[15.02.2025 20:54:06] Loaded operation parameters for package id=Microsoft.Sysinternals.Autoruns on manager Winget and operation Install: install --id "Microsoft.Sysinternals.Autoruns" --exact --source winget --accept-source-agreements --disable-interactivity --silent --accept-package-agreements --force
[15.02.2025 20:54:35] Parallel operation limit not set, defaulting to 1
[15.02.2025 20:54:35] Loaded operation parameters for package id=Microsoft.Sysinternals.Autoruns on manager Winget and operation Uninstall: uninstall --id "Microsoft.Sysinternals.Autoruns" --exact --source winget --accept-source-agreements --disable-interactivity --version "14.1" --silent

Package Managers Logs

STEP 1
Package install operation for Package=Microsoft.Sysinternals.Autoruns with Manager=Winget
Installation options: <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Executing process with StartInfo:
 - FileName: "C:\Users\Krzysiu\AppData\Local\Microsoft\WindowsApps\winget.exe"
 - Arguments: "install --id "Microsoft.Sysinternals.Autoruns" --exact --source winget --accept-source-agreements --disable-interactivity --silent --accept-package-agreements --force"
Start Time: "15.02.2025 20:54:06"
Found Autoruns [Microsoft.Sysinternals.Autoruns] Version 14.10
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://live.sysinternals.com/autoruns64.exe
  ██████████████████████████████  1.86 MB / 1.86 MB
Successfully verified installer hash
Starting package install...
Command line alias added: "autoruns"
Successfully installed
End Time: "15.02.2025 20:54:12"
Process return value: "0" (0x0)
Autoruns was installed successfully

STEP 2
Package uninstall operation for Package=Microsoft.Sysinternals.Autoruns with Manager=Winget
Installation options: <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Executing process with StartInfo:
 - FileName: "C:\Users\Krzysiu\AppData\Local\Microsoft\WindowsApps\winget.exe"
 - Arguments: "uninstall --id "Microsoft.Sysinternals.Autoruns" --exact --source winget --accept-source-agreements --disable-interactivity --version "14.1" --silent"
Start Time: "15.02.2025 20:54:35"
No version found matching: 14.1
End Time: "15.02.2025 20:54:40"
Process return value: "-1978335209" (0x8A150017)
Autoruns could not be uninstalled

Relevant information

UniGetUI displays in discover packages Autoruns 14.1, but it installs 14.10 (in fact + per log and

winget show "Microsoft.Sysinternals.Autoruns"
Found Autoruns [Microsoft.Sysinternals.Autoruns]
Version: 14.10

). Displayed version also is used to uninstall this tool so it fails because version mismatch.

Screenshots and videos

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions