Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winget does not recognice the installed version correct if run without administrator rights #4555

Open
Mannshoch opened this issue Jun 14, 2024 · 2 comments
Labels
Command-Upgrade Issue related to WinGet Upgrade Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@Mannshoch
Copy link

Brief description of your issue

Winget update list Microsoft.VCRedist.2005.x86 as version 8.0.61000 but version 8.0.61001 was installed by winget itself.
Microsoft Visual C++ 2005 Redistributable (x64) Microsoft.VCRedist.2005.x86 8.0.61000 8.0.61001 winget
grafik

Steps to reproduce

  1. winget install Microsoft.VCRedist.2005.x86
  2. winget update in a terminal with admin rights do not show the wrong version
  3. winget update in a terminal without admin rights show the wrong version
  4. Microsoft Visual C++ 2005 Redistributable (x64) Microsoft.VCRedist.2005.x86 8.0.61000 8.0.61001 winget

Expected behavior

winget recognize the update correct even without admin right

Actual behavior

winget installs the app itself but recognice the wrong version. if winget update does not have admin rights

Environment

Windows-Paket-Manager v1.7.11261
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.19045.4529
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.22.11261.0

WinGet-Verzeichnisse
-----------------------------------------------------------------------------------------------------------------------------------------
Protokolle                                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Benutzereinstellungen                        %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Verzeichnis für portierbare Links (Benutzer) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portables Linkverzeichnis (Computer)         C:\Program Files\WinGet\Links
Portierbarer Paketstamm (Benutzer)           %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portierbarer Paketstamm                      C:\Program Files\WinGet\Packages
Portierbares Paketstamm (x86)                C:\Program Files (x86)\WinGet\Packages
Installationsprogrammdownloads               %USERPROFILE%\Downloads

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store-Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale

Administratoreinstellung                  Status
-----------------------------------------------------
LocalManifestFiles                        Deaktiviert
BypassCertificatePinningForMicrosoftStore Deaktiviert
InstallerHashOverride                     Deaktiviert
LocalArchiveMalwareScanOverride           Deaktiviert
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jun 14, 2024
@denelon
Copy link
Contributor

denelon commented Jun 15, 2024

If you run winget list do you see more than one version installed?

Have you tried a preview version with the side-by-side experimental feature enabled?

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage Issue need to be triaged label Jun 15, 2024
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. Command-Upgrade Issue related to WinGet Upgrade Needs-Author-Feedback Issue needs attention from issue or PR author labels Jun 15, 2024
@Mannshoch
Copy link
Author

No ther is pnly one installed version.
Ialso tried to uninstall in Apps and features and reinstall wit winget.
No did not use preview version.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Jun 15, 2024
@denelon denelon removed the Needs-Attention Issue needs attention from Microsoft label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-Upgrade Issue related to WinGet Upgrade Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

2 participants