Skip to content

[BUG/ISSUE] Duplicate start menu shortcut in Windows 11 start menu #981

@zotabee

Description

@zotabee

Before submitting the issue

  • I have checked that the bug is not a duplicate or, if it is, it needs to be reopened
  • I have checked that I am running the latest version of WingetUI
  • I have tried resetting and reinstalling WingetUI and the issue persisted or happened again
  • I have checked the FAQ section for solutions
  • I have read the contributing guidelines and I agree with the Code of Conduct

Describe the bug

There are two duplicate "WingetUI" shortcuts in the Windows 11 start menu instead of only one.

To Reproduce

Steps to reproduce the behaviour:

  1. Download WingetUI 1.7.0
  2. Install WingetUI 1.7.0 with the default options (Leave "Create a shortcut on the start menu" tick enabled)
  3. Finish installation
  4. It created a shortcut in "C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu"
  5. Start WingetUI
  6. It creates another shortcut in "C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs"
  7. On Windows 11 start menu, there is now a double entry

Expected behaviour

Only have one shortcut and in the right location which should be "Start Menu\Programs" like all other apps and not in "Start Menu".

Probably using :
"%AppData%\Microsoft\Windows\Start Menu\Programs" (shell:Programs)
or
"%ProgramData%\Microsoft\Windows\Start Menu\Programs" (shell:Common Programs) for system wide installations

Screenshots

Cropped Windows 11 start menu:
Screenshot 2023-04-30 092926
Screenshot 2023-04-30 092818
Screenshot 2023-04-30 094335

Thank you for having a look.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions