{"action":"created","issue":{"url":"https://api.github.com/repos/wpilibsuite/WPILibInstaller/issues/8","repository_url":"https://api.github.com/repos/wpilibsuite/WPILibInstaller","labels_url":"https://api.github.com/repos/wpilibsuite/WPILibInstaller/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/wpilibsuite/WPILibInstaller/issues/8/comments","events_url":"https://api.github.com/repos/wpilibsuite/WPILibInstaller/issues/8/events","html_url":"https://github.com/wpilibsuite/WPILibInstaller/issues/8","id":374080707,"node_id":"MDU6SXNzdWUzNzQwODA3MDc=","number":8,"title":"Installer delay after clicking selecting \"All Users\"","user":{"login":"phurley","id":2311,"node_id":"MDQ6VXNlcjIzMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/2311?v=4","gravatar_id":"","url":"https://api.github.com/users/phurley","html_url":"https://github.com/phurley","followers_url":"https://api.github.com/users/phurley/followers","following_url":"https://api.github.com/users/phurley/following{/other_user}","gists_url":"https://api.github.com/users/phurley/gists{/gist_id}","starred_url":"https://api.github.com/users/phurley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phurley/subscriptions","organizations_url":"https://api.github.com/users/phurley/orgs","repos_url":"https://api.github.com/users/phurley/repos","events_url":"https://api.github.com/users/phurley/events{/privacy}","received_events_url":"https://api.github.com/users/phurley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-25T18:45:35Z","updated_at":"2018-10-28T07:09:06Z","closed_at":null,"author_association":"NONE","body":" It takes almost 10 seconds on a reasonably fast (3Ghz I7, SSD) machine for the auth dialog to appear. During this time it is easy to click the button multiple times, leading to multiple auth dialogs and some confusion.\r\n\r\nAt the very least disable the buttons after clicking to prevent the confusion -- pretty much every one of our students did this.\r\n\r\nNot a major issue."},"comment":{"url":"https://api.github.com/repos/wpilibsuite/WPILibInstaller/issues/comments/433681943","html_url":"https://github.com/wpilibsuite/WPILibInstaller/issues/8#issuecomment-433681943","issue_url":"https://api.github.com/repos/wpilibsuite/WPILibInstaller/issues/8","id":433681943,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzY4MTk0Mw==","user":{"login":"PeterJohnson","id":297126,"node_id":"MDQ6VXNlcjI5NzEyNg==","avatar_url":"https://avatars3.githubusercontent.com/u/297126?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterJohnson","html_url":"https://github.com/PeterJohnson","followers_url":"https://api.github.com/users/PeterJohnson/followers","following_url":"https://api.github.com/users/PeterJohnson/following{/other_user}","gists_url":"https://api.github.com/users/PeterJohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterJohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterJohnson/subscriptions","organizations_url":"https://api.github.com/users/PeterJohnson/orgs","repos_url":"https://api.github.com/users/PeterJohnson/repos","events_url":"https://api.github.com/users/PeterJohnson/events{/privacy}","received_events_url":"https://api.github.com/users/PeterJohnson/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T07:09:06Z","updated_at":"2018-10-28T07:09:06Z","author_association":"MEMBER","body":"My working theory is the delay is due to the size of the installer executable--what I think is happening is when privilege escalation happens, Windows copies the entire executable to a privileged area, and that's what takes a long time.  My suggested fix is to copy just the actual installer executable part (which is much smaller) to a temporary file and run it as a subprocess (using the original installer as a data file e.g. by passing its path as a command line option), then do the privilege escalation in the subprocess.\r\n"}}
{"actor":{"display_login":"PeterJohnson"}}