{"action":"created","issue":{"url":"https://api.github.com/repos/chocolatey/choco/issues/307","labels_url":"https://api.github.com/repos/chocolatey/choco/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/chocolatey/choco/issues/307/comments","events_url":"https://api.github.com/repos/chocolatey/choco/issues/307/events","html_url":"https://github.com/chocolatey/choco/issues/307","id":85181972,"number":307,"title":"Custom install arguments (-ia '') trashing $env:TEMP variable and ConfigurationLocation=","user":{"login":"sitano","id":564610,"avatar_url":"https://avatars.githubusercontent.com/u/564610?v=3","gravatar_id":"","url":"https://api.github.com/users/sitano","html_url":"https://github.com/sitano","followers_url":"https://api.github.com/users/sitano/followers","following_url":"https://api.github.com/users/sitano/following{/other_user}","gists_url":"https://api.github.com/users/sitano/gists{/gist_id}","starred_url":"https://api.github.com/users/sitano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sitano/subscriptions","organizations_url":"https://api.github.com/users/sitano/orgs","repos_url":"https://api.github.com/users/sitano/repos","events_url":"https://api.github.com/users/sitano/events{/privacy}","received_events_url":"https://api.github.com/users/sitano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-04T16:50:49Z","updated_at":"2015-06-04T16:52:53Z","closed_at":null,"body":"I do:\r\n\r\n$> cinst package -s . -y -ia \"-dc=vagrant -log-level=debug\"\r\n\r\nWhat i've got:\r\n\r\n$env:TEMP = /c/ProgramData/chocolatey/=vagrant -log-level=debug\u0000\r\n\r\n= thats kinda broken. -ia should not touch $env:TEMP any how.\r\n\r\nWhy is this important?\r\n\r\nHelper functions generate invalid temporary paths during various operations like: Install-ChocolateyZipPackage.\r\n\r\nDebug output header:\r\n\r\n```\r\nChocolatey v0.9.9.6\r\nChocolatey is running on Windows v 6.2.9200.0\r\nAttempting to delete file \"C:/ProgramData/chocolatey/choco.exe.old\".\r\nAttempting to delete file \"C:\\ProgramData\\chocolatey\\choco.exe.old\".\r\nCommand line: \"C:\\ProgramData\\chocolatey\\choco.exe\" install consul -s . -y -dv -ia \"-dc=vagrant -log-level=debug\"\r\nReceived arguments: install consul -s . -y -dv -ia -dc=vagrant -log-level=debug\r\n\r\nNOTE: Hiding sensitive configuration data! Please double and triple\r\n check to be sure no sensitive data is shown, especially if copying\r\n output to a gist for review.\r\nConfiguration: CommandName='install'|CacheLocation='=vagrant -log-level=debug'|\r\nContainsLegacyPackageInstalls='True'|\r\nCommandExecutionTimeoutSeconds='2700'|Sources='.'|Debug='True'|\r\nVerbose='True'|Force='False'|Noop='False'|HelpRequested='False'|\r\nRegularOutput='True'|PromptForConfirmation='False'|\r\nAcceptLicense='True'|\r\nAllowUnofficialBuild='False'|Input='consul'|AllVersions='False'|\r\nSkipPackageInstallProvider='False'|PackageNames='consul'|\r\nPrerelease='False'|ForceX86='False'|\r\nInstallArguments='-dc=vagrant -log-level=debug'|\r\nOverrideArguments='False'|NotSilent='False'|IgnoreDependencies='False'|\r\nAllowMultipleVersions='False'|ForceDependencies='False'|\r\nInformation.PlatformType='Windows'|\r\nInformation.PlatformVersion='6.2.9200.0'|\r\nInformation.PlatformName='Windows Server 2012'|\r\nInformation.ChocolateyVersion='0.9.9.6'|\r\nInformation.ChocolateyProductVersion='0.9.9.6'|\r\nInformation.FullName='choco, Version=0.9.9.6, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|\r\n\r\nInformation.Is64Bit='True'|Information.IsInteractive='True'|\r\nInformation.IsUserAdministrator='True'|\r\nInformation.IsProcessElevated='True'|Features.AutoUninstaller='False'|\r\nFeatures.CheckSumFiles='True'|ListCommand.LocalOnly='False'|\r\nListCommand.IncludeRegistryPrograms='False'|\r\nUpgradeCommand.FailOnUnfound='False'|\r\nUpgradeCommand.NotifyOnlyAvailableUpgrades='False'|\r\nNewCommand.AutomaticPackage='False'|SourceCommand.Command='unknown'|\r\nFeatureCommand.Command='unknown'|PushCommand.TimeoutInSeconds='0'|\r\nPinCommand.Command='unknown'|\r\n_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _\r\nInstalling the following packages:\r\nconsul\u0000\r\n```"},"comment":{"url":"https://api.github.com/repos/chocolatey/choco/issues/comments/108967638","html_url":"https://github.com/chocolatey/choco/issues/307#issuecomment-108967638","issue_url":"https://api.github.com/repos/chocolatey/choco/issues/307","id":108967638,"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-06-04T16:52:53Z","updated_at":"2015-06-04T16:52:53Z","body":"Got it - `|CacheLocation='=vagrant -log-level=debug'|`"}}