ferventcoder/nugetpackages — pull request #132 by markus101 (2014-06-13 17:33:04+00:00)
Title: Fixed issue with aspnetmvc.install

aspnetmvc.install was not working because the URL was on a second line, which resulted in the following:

```
DEBUG: Running 'Append-InstallLog' with chocoInstallLog:''
DEBUG: Arguments: $command =
'install'|$packageNames='aspnetmvc.install'|$source=''|$version=''|$allVersions=False|$InstallArguments=''|$overrideArg
uments=False|$force=False|$prerelease=False|$localonly=False|$verbosity=False|$debug=True|$name=''|$ignoreDependencies=
False|$forceX86=False|$packageParameters=''|PowerShellVersion=3.0
DEBUG: Invoke-ChocolateyFunction is calling: $ChocoFunction='Chocolatey-Install'|@paramlist='@paramlist'
DEBUG: Running 'Chocolatey-Install' for 'aspnetmvc.install' with source: '', version: '', installerArguments:''
DEBUG: Running 'Chocolatey-NuGet' for aspnetmvc.install with source:''. Force? False
Chocolatey (v0.9.8.23) is installing 'aspnetmvc.install' and dependencies. By installing you accept the license for 'aspnetmvc.install' and each dependency you are installing.
DEBUG: Installing packages to "C:\Chocolatey\lib".
DEBUG: Running 'Run-NuGet' for aspnetmvc.install with source: '', version:''
DEBUG: ___ NuGet ____
DEBUG: Running 'Get-ConfigValue' with configValue:'useNuGetForSources'
DEBUG: Running 'Get-UserConfigValue' with configValue:'useNuGetForSources'
DEBUG: After checking the user config the value of 'useNuGetForSources' is ''
DEBUG: Value not found in the user config file - checking the global config
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'useNuGetForSources'
DEBUG: After checking the global config the value of 'useNuGetForSources' is 'false'
DEBUG: Running 'Get-UserConfigValue' with configValue:'sources'
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'sources'
DEBUG: Using global sources
DEBUG: Using '-Source "https://chocolatey.org/api/v2/" ' as the source arguments
DEBUG: Calling 'C:\Chocolatey\chocolateyinstall\nuget.exe' install aspnetmvc.install -Outputdirectory
"C:\Chocolatey\lib" -Source "https://chocolatey.org/api/v2/" -NonInteractive -NoCache
DEBUG: Successfully installed 'aspnetmvc.install 3.1.0.0'.
DEBUG: Evaluating NuGet output for line: Successfully installed 'aspnetmvc.install 3.1.0.0'.
DEBUG: NuGet installed aspnetmvc.install. If we are ignoring dependencies (False) then we will clean this up.
______ aspnetmvc.install v3.1.0.0 ______
DEBUG: Running 'Delete-ExistingErrorLog' for aspnetmvc.install
DEBUG: Looking for failure log at 'C:\Users\TEAMCI~1\AppData\Local\Temp\chocolatey\aspnetmvc.install\failure.log'
DEBUG: Running 'Run-ChocolateyPS1' for aspnetmvc.install with
packageFolder:'C:\Chocolatey\lib\aspnetmvc.install.3.1.0.0', action: 'install'
DEBUG: __ PowerShell install (chocolateyinstall.ps1) __
DEBUG: Looking for chocolateyinstall.ps1 in folder 'C:\Chocolatey\lib\aspnetmvc.install.3.1.0.0'. If
chocolateyinstall.ps1 is found, it will be run.
DEBUG: Action file is 'chocolateyInstall.ps1'
DEBUG: Running 'C:\Chocolatey\lib\aspnetmvc.install.3.1.0.0\tools\chocolateyInstall.ps1'
This will take forever to install. Go outside or something...come back in about an hour or so. For serious yo...
DEBUG: Running 'Install-ChocolateyPackage' for aspnetmvc with url:'', args: '/q'
DEBUG: Running 'Get-ChocolateyWebFile' for aspnetmvc with url:'',
fileFullPath:'C:\Users\TEAMCI~1\AppData\Local\Temp\chocolatey\aspnetmvc\aspnetmvcInstall.exe',and url64bit:''
DEBUG: Running 'System-GetBits'
DEBUG: CPU is 64 bit
Downloading aspnetmvc 32 bit () to C:\Users\TEAMCI~1\AppData\Local\Temp\chocolatey\aspnetmvc\aspnetmvcInstall.exe
DEBUG: We are attempting to copy the local item '' to
'C:\Users\TEAMCI~1\AppData\Local\Temp\chocolatey\aspnetmvc\aspnetmvcInstall.exe'
Write-Error : aspnetmvc did not finish successfully. Boo to the chocolatey gods!
-----------------------
[ERROR] Cannot bind argument to parameter 'Path' because it is an empty string.
-----------------------
At C:\Chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:30 char:2
+ Write-Error $errorMessage
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

DEBUG: Running 'Move-BadInstall' for aspnetmvc.install version: '3.1.0.0',
packageFolder:'C:\Chocolatey\lib\aspnetmvc.install.3.1.0.0'
DEBUG: Moving bad package 'aspnetmvc.install v3.1.0.0' to 'C:\Chocolatey\lib-bad'.
Write-Error : Package 'aspnetmvc.install v3.1.0.0' did not install successfully: Cannot bind argument to parameter 'Pat
h' because it is an empty string.
At C:\Chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:90 char:17
+ Write-Error "Package `'$installedPackageName v$installedPackageV ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

DEBUG: Evaluating NuGet output for line:
Finished installing 'aspnetmvc.install' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
Reading environment variables from registry. Please wait... Done.
```

Not sure what what the protocol is for bumping the package version, so please let me know if I should change it and update the PR.