{"action":"created","issue":{"url":"https://api.github.com/repos/ElixirWin/ChocolateyPackages/issues/28","repository_url":"https://api.github.com/repos/ElixirWin/ChocolateyPackages","labels_url":"https://api.github.com/repos/ElixirWin/ChocolateyPackages/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/ElixirWin/ChocolateyPackages/issues/28/comments","events_url":"https://api.github.com/repos/ElixirWin/ChocolateyPackages/issues/28/events","html_url":"https://github.com/ElixirWin/ChocolateyPackages/issues/28","id":141558949,"number":28,"title":"Shim files not available at chocolatey bin directory","user":{"login":"usoliveira","id":13986855,"avatar_url":"https://avatars.githubusercontent.com/u/13986855?v=3","gravatar_id":"","url":"https://api.github.com/users/usoliveira","html_url":"https://github.com/usoliveira","followers_url":"https://api.github.com/users/usoliveira/followers","following_url":"https://api.github.com/users/usoliveira/following{/other_user}","gists_url":"https://api.github.com/users/usoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/usoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usoliveira/subscriptions","organizations_url":"https://api.github.com/users/usoliveira/orgs","repos_url":"https://api.github.com/users/usoliveira/repos","events_url":"https://api.github.com/users/usoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/usoliveira/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-17T11:41:56Z","updated_at":"2016-03-21T18:22:32Z","closed_at":"2016-03-19T13:55:50Z","body":"After installing Elixir 1.2.3, the \".bat\" files became available at Lib bin directory, but are not copied or linked at main chocolatey bin directory, so its not available from windows Path once you don't put the full elixir path manually to env variables.\r\n\r\nFor that reason, when uninstalling Elixir Chocolatey package, it returns errors because the \".bat\" files they look aren't at chocolatey bin dir."},"comment":{"url":"https://api.github.com/repos/ElixirWin/ChocolateyPackages/issues/comments/199412461","html_url":"https://github.com/ElixirWin/ChocolateyPackages/issues/28#issuecomment-199412461","issue_url":"https://api.github.com/repos/ElixirWin/ChocolateyPackages/issues/28","id":199412461,"user":{"login":"usoliveira","id":13986855,"avatar_url":"https://avatars.githubusercontent.com/u/13986855?v=3","gravatar_id":"","url":"https://api.github.com/users/usoliveira","html_url":"https://github.com/usoliveira","followers_url":"https://api.github.com/users/usoliveira/followers","following_url":"https://api.github.com/users/usoliveira/following{/other_user}","gists_url":"https://api.github.com/users/usoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/usoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usoliveira/subscriptions","organizations_url":"https://api.github.com/users/usoliveira/orgs","repos_url":"https://api.github.com/users/usoliveira/repos","events_url":"https://api.github.com/users/usoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/usoliveira/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T18:22:32Z","updated_at":"2016-03-21T18:22:32Z","body":"Hi friend. Do you think its possible to add a validation like the one below, in the Uninstall script for each path, so it doesn't throw any errors?\r\n\r\n`If (Test-Path \"$env:ChocolateyInstall/bin/iex.bat\") { Remove-Item \"$env:ChocolateyInstall/bin/iex.bat\" }`"}}