{"action":"opened","issue":{"url":"https://api.github.com/repos/OSVR/OSVR-Vive/issues/6","repository_url":"https://api.github.com/repos/OSVR/OSVR-Vive","labels_url":"https://api.github.com/repos/OSVR/OSVR-Vive/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/OSVR/OSVR-Vive/issues/6/comments","events_url":"https://api.github.com/repos/OSVR/OSVR-Vive/issues/6/events","html_url":"https://github.com/OSVR/OSVR-Vive/issues/6","id":143100298,"number":6,"title":"Find steam using registry or at least winapi calls","user":{"login":"rpavlik","id":61129,"avatar_url":"https://avatars.githubusercontent.com/u/61129?v=3","gravatar_id":"","url":"https://api.github.com/users/rpavlik","html_url":"https://github.com/rpavlik","followers_url":"https://api.github.com/users/rpavlik/followers","following_url":"https://api.github.com/users/rpavlik/following{/other_user}","gists_url":"https://api.github.com/users/rpavlik/gists{/gist_id}","starred_url":"https://api.github.com/users/rpavlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpavlik/subscriptions","organizations_url":"https://api.github.com/users/rpavlik/orgs","repos_url":"https://api.github.com/users/rpavlik/repos","events_url":"https://api.github.com/users/rpavlik/events{/privacy}","received_events_url":"https://api.github.com/users/rpavlik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OSVR/OSVR-Vive/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-23T22:52:53Z","updated_at":"2016-03-23T22:52:53Z","closed_at":null,"body":"Right now we have hard-coded two possible install paths, but that's fairly fragile: https://github.com/OSVR/OSVR-Vive/blob/master/FindDriver.cpp#L85\r\n\r\nWon't work on any system where Windows or Steam isn't installed on C in the default location, or where a localized non-English version of Windows is being used.\r\n\r\nI imagine there's probably a registry key to locate Steam, and failing that, we can at least get the location of the \"special directory\" 32-bit program files from windows API."}}