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 installs two Notepad++ packages #14963

Open
baconsplit opened this issue Apr 9, 2024 · 4 comments
Open

winget installs two Notepad++ packages #14963

baconsplit opened this issue Apr 9, 2024 · 4 comments

Comments

@baconsplit
Copy link

Description of the Issue

When installing notepad++ via winget on Windows 11 it installs a second Notepad++ package named
<NotepadPlusPlus_7njy0v32s6xk6> and has Version 1.0.0.0

Steps to Reproduce the Issue

  1. Setup Windows 11 with winget
  2. $winget install Notepad++.Notepad++
  3. wait a bit (?)
  4. $winget list and see a second Notepad++ package installed

Expected Behavior

Only one Notepad++ package in winget list

Actual Behavior

Two packages, one with a very old version name and weird name.

Debug Information

image

I am unsure whether this is a problem with winget or Notepad++, but since Notepad++ is the only package/app with this behavior, I suspect Notepad++ having some weird dependencies or similar in the winget package mangaer.

@CennoxX
Copy link
Contributor

CennoxX commented Apr 10, 2024

NotepadPIusPIus_7njy0v32s6xk6 is from Notepad++/contextMenu/NppShell.msix, I believe this is for installing the context menu in Windows 11.

@baconsplit
Copy link
Author

Ah that could be!
But other Apps like 7-Zip and VSCode (or VSCodium in my case) manage to add context menu entries without having an additional package in the winget list.
I may be nitpicking a lot here, but I like to have it all clean - maybe there is a way for Notepad++ to also include the context menu logic in the main package?

@sXNA
Copy link

sXNA commented Apr 11, 2024

Notepad++ doesn't support winget officially so I don't think this will be fixed soon.

@rdipardo
Copy link
Contributor

@baconsplit

maybe there is a way for Notepad++ to also include the context menu logic in the main package?

Like @CennoxX said, the extra package is a workaround for the new Windows 11 context menu API: https://github.com/notepad-plus-plus/nppShell/#readme. There's a separate issue tracker for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants