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

Installing PowerShell results in error #4357

Open
Luedtkejk opened this issue Apr 6, 2024 · 8 comments
Open

Installing PowerShell results in error #4357

Luedtkejk opened this issue Apr 6, 2024 · 8 comments
Labels
Command-Install Issue related to WinGet Install Experimental This experimental feature can be enabled in settings Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback Issue needs attention from issue or PR author
Milestone

Comments

@Luedtkejk
Copy link

Brief description of your issue

2024-04-06 16:16:16.926 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerSharedLib\Public\AppInstallerLanguageUtilities.h(135)\WindowsPackageManager.dll!00007FFBEE892E19: (caller: 00007FFBEE8E8F38) Exception(1) tid(3dbc) 80070490 Element not found.

    Msg:[GetVariant(14)] 

2024-04-06 16:16:16.928 [CLI ] Caught wil::ResultException: C:\__w\1\s\external\pkg\src\AppInstallerSharedLib\Public\AppInstallerLanguageUtilities.h(135)\WindowsPackageManager.dll!00007FFBEE892E19: (caller: 00007FFBEE8E8F38) Exception(1) tid(3dbc) 80070490 Element not found.

    Msg:[GetVariant(14)] 

WinGet-2024-04-06-16-16-16.338.log
WinGet-2024-04-06-16-17-55.131.log
WinGet-2024-04-06-16-17-43.499.log

Steps to reproduce

winget install Microsoft.PowerShell -s winget

Expected behavior

PowerShell 7 to be installed

Actual behavior

An unexpected error occurred while executing the command:
GetVariant(14)
0x80070490 : Element not found.

Environment

Windows Package Manager (Preview) v1.8.924-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.4170
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.924.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled
PS C:\WINDOWS\system32>
Copy link

github-actions bot commented Apr 6, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Apr 6, 2024
@Luedtkejk
Copy link
Author

@JohnMcPMS / @denelon - sideBySide was enabled and causing this error. Disabling sideBySide experimental feature resolved the issue

cc @Trenly

@Trenly
Copy link
Contributor

Trenly commented Apr 6, 2024

[Policy] Experimental
[Policy] Issue Bug
[Policy] Command Install

@microsoft-github-policy-service microsoft-github-policy-service bot added Command-Install Issue related to WinGet Install Experimental This experimental feature can be enabled in settings Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage Issue need to be triaged labels Apr 6, 2024
@mdanish-kh
Copy link
Contributor

Same error seen in #4354

@denelon denelon added this to the 1.8 Client milestone Apr 8, 2024
@soredake
Copy link

soredake commented Apr 9, 2024

Same with ETXSoftwareInc.DuckDns and REALiX.HWiNFO

@aaronliu0130
Copy link

Could someone change the title to something like "GetVariant(14) 0x80070490 : Element not found when sideBySide is enabled"? I get this when trying to install LastFM.LastFMDesktopScrobbler and a few other packages as well

@davidldennison
Copy link

@aaronliu0130 I updated #4425 as well to be more clear - thanks for the heads up!

@mdanish-kh did you get this error when actually trying to use the sBS functionality? I tried installing apps that had no other versions, no head ever been installed, and was getting this error. I don't have any apps pinned, and just like you when disabling - installed just fine.

@denelon denelon modified the milestones: 1.8 Client, 1.9 Client Jun 11, 2024
@mdanish-kh
Copy link
Contributor

mdanish-kh commented Jun 14, 2024

@Luedtkejk There have been updates to the client to fix similar issues (#4354, #4425) to this one. Can you try installing the v1.9.1551-preview release and check if the issue's resolved for you?

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback Issue needs attention from issue or PR author label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-Install Issue related to WinGet Install Experimental This experimental feature can be enabled in settings Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback Issue needs attention from issue or PR author
Projects
None yet
Development

No branches or pull requests

7 participants