{"action":"created","issue":{"url":"https://api.github.com/repos/stefansundin/altdrag/issues/24","labels_url":"https://api.github.com/repos/stefansundin/altdrag/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/stefansundin/altdrag/issues/24/comments","events_url":"https://api.github.com/repos/stefansundin/altdrag/issues/24/events","html_url":"https://github.com/stefansundin/altdrag/issues/24","id":55437323,"number":24,"title":"Installer UAC compliance","user":{"login":"Link-Satonaka","id":4342746,"avatar_url":"https://avatars.githubusercontent.com/u/4342746?v=3","gravatar_id":"","url":"https://api.github.com/users/Link-Satonaka","html_url":"https://github.com/Link-Satonaka","followers_url":"https://api.github.com/users/Link-Satonaka/followers","following_url":"https://api.github.com/users/Link-Satonaka/following{/other_user}","gists_url":"https://api.github.com/users/Link-Satonaka/gists{/gist_id}","starred_url":"https://api.github.com/users/Link-Satonaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Link-Satonaka/subscriptions","organizations_url":"https://api.github.com/users/Link-Satonaka/orgs","repos_url":"https://api.github.com/users/Link-Satonaka/repos","events_url":"https://api.github.com/users/Link-Satonaka/events{/privacy}","received_events_url":"https://api.github.com/users/Link-Satonaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-26T00:38:32Z","updated_at":"2015-06-15T17:43:00Z","closed_at":null,"body":"The installer does not properly comply with UAC- instead of requesting elevation during the install process, the entire installer is elevated. This results in two bugs/flaws:\r\n\r\n1. If \"Run AltDrag\" is checked on the final page, AltDrag is run as the  administrative user, when it should be run as the regular user. In practice this will only result in the user losing their configuration when AltDrag closes (and it is next started as a completely different user), but it should be fixed nonetheless...\r\n\r\n2. The installer deposits shortcuts in the Start Menu of the user that ran the installer- which is currently the administrator, which means AltDrag's shortcuts will not appear in the start menu of the user! You do not ask the user if they want to install for \"just me\" or \"everybody\". The reasonable default is for \"everybody\", so AltDrag's shortcut should be deposited here: `C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs`.\r\n\r\nIf you wanted to install for \"just me\"- an option which does not require elevation at all, altdrag would be installed to `%APPDATA%\\AltDrag` and the shortcuts would be placed where you have them currently, `%APPDATA%\\Microsoft\\Windows\\Start Menu`. But since you install to `Program Files` and incorrectly elevate the entire installer, my user folder is `C:\\Users\\Link` but the start menu shortcuts end up in `C:\\Users\\root\\...\\Start Menu` (where `root` is my administrative user).\r\n\r\nPlease fix! Thank you."},"comment":{"url":"https://api.github.com/repos/stefansundin/altdrag/issues/comments/112150388","html_url":"https://github.com/stefansundin/altdrag/issues/24#issuecomment-112150388","issue_url":"https://api.github.com/repos/stefansundin/altdrag/issues/24","id":112150388,"user":{"login":"Nindaleth","id":6383928,"avatar_url":"https://avatars.githubusercontent.com/u/6383928?v=3","gravatar_id":"","url":"https://api.github.com/users/Nindaleth","html_url":"https://github.com/Nindaleth","followers_url":"https://api.github.com/users/Nindaleth/followers","following_url":"https://api.github.com/users/Nindaleth/following{/other_user}","gists_url":"https://api.github.com/users/Nindaleth/gists{/gist_id}","starred_url":"https://api.github.com/users/Nindaleth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nindaleth/subscriptions","organizations_url":"https://api.github.com/users/Nindaleth/orgs","repos_url":"https://api.github.com/users/Nindaleth/repos","events_url":"https://api.github.com/users/Nindaleth/events{/privacy}","received_events_url":"https://api.github.com/users/Nindaleth/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T17:43:00Z","updated_at":"2015-06-15T17:43:00Z","body":"If installing for all users, `%ALLUSERSPROFILE%` can be used (or `%PROGRAMDATA%` for Windows Vista and newer)."}}