{"action":"created","issue":{"url":"https://api.github.com/repos/chocolatey/choco/issues/406","labels_url":"https://api.github.com/repos/chocolatey/choco/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/chocolatey/choco/issues/406/comments","events_url":"https://api.github.com/repos/chocolatey/choco/issues/406/events","html_url":"https://github.com/chocolatey/choco/issues/406","id":106103566,"number":406,"title":"Package parameters: Can't quote values","user":{"login":"dhilgarth","id":1180105,"avatar_url":"https://avatars.githubusercontent.com/u/1180105?v=3","gravatar_id":"","url":"https://api.github.com/users/dhilgarth","html_url":"https://github.com/dhilgarth","followers_url":"https://api.github.com/users/dhilgarth/followers","following_url":"https://api.github.com/users/dhilgarth/following{/other_user}","gists_url":"https://api.github.com/users/dhilgarth/gists{/gist_id}","starred_url":"https://api.github.com/users/dhilgarth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhilgarth/subscriptions","organizations_url":"https://api.github.com/users/dhilgarth/orgs","repos_url":"https://api.github.com/users/dhilgarth/repos","events_url":"https://api.github.com/users/dhilgarth/events{/privacy}","received_events_url":"https://api.github.com/users/dhilgarth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chocolatey/choco/labels/0%20-%20_Triaging","name":"0 - _Triaging","color":"eeeeee"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-09-11T22:10:57Z","updated_at":"2015-09-11T22:37:43Z","closed_at":null,"body":"I am trying to pass quoted values to the `-params` switch, but it looks like it is simply not working.\r\n\r\nIn a test package, I am simply outputting `$packageParameters` to see what I get.\r\n\r\nHere is what I tried:\r\n\r\n- `-params '/licenseName:\"\"Daniel Hilgarth\"\"'`\r\n- `-params '\"/licenseName:\"\"Daniel Hilgarth\"\"\"'`\r\n- `-params '\"/licenseName:\"Daniel Hilgarth\"\"'`\r\n- `-params '/licenseName:\"Daniel Hilgarth\"'`\r\n- `-params \"/licenseName:\"\"Daniel Hilgarth\"\"\"`\r\n\r\nBoth of them resulted in a `$packageParameters` value fof `/licenseName:Daniel Hilgarth`\r\n\r\nAdditionally, I tried these:\r\n\r\n- `-params '\"/licenseName:\\\"Daniel Hilgarth\\\"\"'` -> Resulted in the message that choco wants to install two packages: `<package-name>;Hilgarth`\r\n- ``-params '\"/licenseName:`\"Daniel Hilgarth`\"\"'`` -> Result: ``/licenseName:`Daniel Hilgarth```\r\n\r\nI have the feeling that this is a bug in chocolatey's parameters parsing"},"comment":{"url":"https://api.github.com/repos/chocolatey/choco/issues/comments/139678310","html_url":"https://github.com/chocolatey/choco/issues/406#issuecomment-139678310","issue_url":"https://api.github.com/repos/chocolatey/choco/issues/406","id":139678310,"user":{"login":"ferventcoder","id":63502,"avatar_url":"https://avatars.githubusercontent.com/u/63502?v=3","gravatar_id":"","url":"https://api.github.com/users/ferventcoder","html_url":"https://github.com/ferventcoder","followers_url":"https://api.github.com/users/ferventcoder/followers","following_url":"https://api.github.com/users/ferventcoder/following{/other_user}","gists_url":"https://api.github.com/users/ferventcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ferventcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferventcoder/subscriptions","organizations_url":"https://api.github.com/users/ferventcoder/orgs","repos_url":"https://api.github.com/users/ferventcoder/repos","events_url":"https://api.github.com/users/ferventcoder/events{/privacy}","received_events_url":"https://api.github.com/users/ferventcoder/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T22:37:43Z","updated_at":"2015-09-11T22:37:43Z","body":"Apologies, I've gotten this question about how to pass arguments quite a few times, I default to passing back the wiki article\r\n"}}