{"action":"created","issue":{"url":"https://api.github.com/repos/DanTup/BrowserSelector/issues/3","labels_url":"https://api.github.com/repos/DanTup/BrowserSelector/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/DanTup/BrowserSelector/issues/3/comments","events_url":"https://api.github.com/repos/DanTup/BrowserSelector/issues/3/events","html_url":"https://github.com/DanTup/BrowserSelector/issues/3","id":107579139,"number":3,"title":"Fails silently when not local administrator","user":{"login":"eludias","id":184934,"avatar_url":"https://avatars.githubusercontent.com/u/184934?v=3","gravatar_id":"","url":"https://api.github.com/users/eludias","html_url":"https://github.com/eludias","followers_url":"https://api.github.com/users/eludias/followers","following_url":"https://api.github.com/users/eludias/following{/other_user}","gists_url":"https://api.github.com/users/eludias/gists{/gist_id}","starred_url":"https://api.github.com/users/eludias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eludias/subscriptions","organizations_url":"https://api.github.com/users/eludias/orgs","repos_url":"https://api.github.com/users/eludias/repos","events_url":"https://api.github.com/users/eludias/events{/privacy}","received_events_url":"https://api.github.com/users/eludias/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T19:11:59Z","updated_at":"2015-09-22T17:20:07Z","closed_at":"2015-09-22T17:15:45Z","body":"When not being local administrator, and running \"BrowserSelector --register\", the application does not provide any output,  but All Control Panel Items -> Default Programs -> \"Set Your Default Programs\" does not list \"BrowserSelector\" as a default program, therefore does not work.\r\n\r\nExpected behaviour: provide clear error message when running \"BrowserSelector --register\", for example when registry entry cannot be created."},"comment":{"url":"https://api.github.com/repos/DanTup/BrowserSelector/issues/comments/142354325","html_url":"https://github.com/DanTup/BrowserSelector/issues/3#issuecomment-142354325","issue_url":"https://api.github.com/repos/DanTup/BrowserSelector/issues/3","id":142354325,"user":{"login":"DanTup","id":1078012,"avatar_url":"https://avatars.githubusercontent.com/u/1078012?v=3","gravatar_id":"","url":"https://api.github.com/users/DanTup","html_url":"https://github.com/DanTup","followers_url":"https://api.github.com/users/DanTup/followers","following_url":"https://api.github.com/users/DanTup/following{/other_user}","gists_url":"https://api.github.com/users/DanTup/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTup/subscriptions","organizations_url":"https://api.github.com/users/DanTup/orgs","repos_url":"https://api.github.com/users/DanTup/repos","events_url":"https://api.github.com/users/DanTup/events{/privacy}","received_events_url":"https://api.github.com/users/DanTup/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T17:20:07Z","updated_at":"2015-09-22T17:20:07Z","body":"Thanks for the debugging! :+1: \r\n\r\nI think the registry writes get redirected for non-Admins, and I can't find a way to register the browser this way. I've made a change that will automatically prompt to elevate if you run normally. This is in 0.2.0.0 which you can grab from the [releases page](https://github.com/DanTup/BrowserSelector/releases)."}}