{"action":"opened","issue":{"url":"https://api.github.com/repos/chocolatey/choco/issues/90","labels_url":"https://api.github.com/repos/chocolatey/choco/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/chocolatey/choco/issues/90/comments","events_url":"https://api.github.com/repos/chocolatey/choco/issues/90/events","html_url":"https://github.com/chocolatey/choco/issues/90","id":57057501,"number":90,"title":"When installing with *.nuspec or *.nupkg, need to get package name from package, not file name","user":{"login":"bdukes","id":59507,"avatar_url":"https://avatars.githubusercontent.com/u/59507?v=3","gravatar_id":"","url":"https://api.github.com/users/bdukes","html_url":"https://github.com/bdukes","followers_url":"https://api.github.com/users/bdukes/followers","following_url":"https://api.github.com/users/bdukes/following{/other_user}","gists_url":"https://api.github.com/users/bdukes/gists{/gist_id}","starred_url":"https://api.github.com/users/bdukes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdukes/subscriptions","organizations_url":"https://api.github.com/users/bdukes/orgs","repos_url":"https://api.github.com/users/bdukes/repos","events_url":"https://api.github.com/users/bdukes/events{/privacy}","received_events_url":"https://api.github.com/users/bdukes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-09T16:55:01Z","updated_at":"2015-02-09T16:55:01Z","closed_at":null,"body":"When issuing a command like `choco install hg.3.3.nupkg`, choco tries to find a package named \"hg.3.3\" (based on the passed in file name), rather the reading the manifest of the nupkg and finding the actual package name to install.  See https://github.com/chocolatey/choco/blob/master/src/chocolatey/infrastructure.app/services/NugetService.cs#L233"}}