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

[Package Issue]: GodotEngine.GodotEngine #174625

Open
2 tasks done
0mn1core opened this issue Sep 21, 2024 · 6 comments
Open
2 tasks done

[Package Issue]: GodotEngine.GodotEngine #174625

0mn1core opened this issue Sep 21, 2024 · 6 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@0mn1core
Copy link

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installation issue.

Brief description of your issue

Installed Godot using Winget. The associated executables are installed correctly; however, the links and command line aliases are not being created for the executable, and despite being found under winget list, I am not able to uninstall using winget (No installed package found matching input criteria.)

Steps to reproduce

  • In console running as administrator: winget install --id=GodotEngine.GodotEngine -e
  • Refresh/reopen console
  • Verify presence: winget list --id=GodotEngine.GodotEngine
  • Attempt command line aliases indicated by installation output
    • godot
    • godot_console
  • Attempt uninstall: winget uninstall --id=GodotEngine.GodotEngine

Actual behavior

Executables are installed in proper place. No links created in %LOCALAPPDATA%\Microsoft\WinGet\Links. PATH not updated to include %LOCALAPPDATA%\Microsoft\WinGet\Links. For some reason, %LOCALAPPDATA%\Microsoft\WinGet\Packages\GodotEngine.GodotEngine_Microsoft.Winget.Source_8wekyb3d8bbwe is added to my PATH.

Expected behavior

Executables installed in proper place. Links created in %LOCALAPPDATA%\Microsoft\WinGet\Links. As this is the first time I have installed using winget, I expect %LOCALAPPDATA%\Microsoft\WinGet\Links to be added to my path. Executables should be findable in start/search menu.

Environment

Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.4169
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Winget Directories
------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputD…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.js…
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

----------------------------------------------------------------------------------------
I have installed `winget` using the `winget-install` script available on Powershell Gallery.

Screenshots and Logs

wingetgodotissues

WinGet-2024-09-21-17-52-09.527.log

@0mn1core 0mn1core added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Sep 21, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Sep 21, 2024
@Dragon1573
Copy link
Contributor

Could you please try installing this package with Administrator privileges? There're notes already shown in your screenshot.

@0mn1core
Copy link
Author

0mn1core commented Sep 22, 2024

Could you please try installing this package with Administrator privileges? There're notes already shown in your screenshot.

I mentioned in "Steps to reproduce" but not in "Brief description of your issue"; I am running these commands from an elevated administrator session. Is there more I need to do?

WingetAsAdmin

@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Sep 23, 2024
@0mn1core
Copy link
Author

Is there any other information I should provide or ways I should run this?

@voronoipotato
Copy link

voronoipotato commented Nov 4, 2024

Close all terminal windows and reopen it, is your command present there now? This is a known issue with winget, though I think there's a workaround you can do documented in microsoft/winget-cli#549

@0mn1core
Copy link
Author

0mn1core commented Nov 4, 2024

Restarted terminal, restarted machine, redownloaded and tried the same approaches again. Eventually went with Scoop to download it. Though if this post is any indication, perhaps it will get fixed in a newer version of PS? When it does, I'll try uninstalling with Scoop and see if it fixes my issue.

Still very strange it added the package install directory to my path rather than the links directory.

@voronoipotato
Copy link

@0mn1core it definitely should have added after rebooting lol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

4 participants