E3F9 Installer confuses/mixes per-user and all-user installation · Issue #549 · randyrants/sharpkeys · GitHub
[go: up one dir, main page]

Skip to content

Installer confuses/mixes per-user and all-user installation #549

@kriswilk

Description

@kriswilk

MY SETUP:

  • Windows 11 Pro w/ all updates
  • SharpKeys installed via winget: winget install -e --id "RandyRants.SharpKeys"

THE PROBLEM

SharpKeys is installed in a location common to all users:

%ProgramFiles%\RandyRants.com\SharpKeys\

However, the program shortcuts are placed in the user's private Start Menu:

%AppData%\Roaming\Microsoft\Windows\Start Menu\Programs\RandyRants.com\SharpKeys

This is a problem if more than one user installs the software, and then one uninstalls it. It leaves dangling shortcuts in all the other users' Start Menus.

SOLUTIONS:

(a) install correctly for ALL USERS by putting the shortcuts in %ProgramData%\Microsoft\Windows\Start Menu\...
(b) install correctly on a SINGLE USER basis by putting the application in %AppData%, not %ProgramFiles%

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0