sharpkeys icon indicating copy to clipboard operation
sharpkeys copied to clipboard

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

Open kriswilk opened this issue 1 year ago • 2 comments

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%

kriswilk avatar Oct 27 '23 02:10 kriswilk