chocolatey/chocolatey — Issue #21: Install doesn't function
Author: 9point6
Created: 2011-10-28 22:38:22+00:00
State: open

All installs fail to complete, however they do report as installed.

```
PS C:\Users\John> cinst nodejs
=====================================================
Chocolatey (0.9.8.11) is installing nodejs (from https://go.microsoft.com/fwlink/?LinkID=206669) to "C:\NuGet\lib"
=====================================================
Package License Acceptance Terms
-------------------------
Please run chocolatey /? for full license acceptance verbage. By installing you accept the license for the package you a
re installing...
-------------------------
-------------------------
NuGet
-------------------------
'nodejs 0.5.9' already installed.

-------------------------
-------------------------
Chocolatey Runner (NODEJS)
-------------------------
-------------------------
Chocolatey Installation (chocolateyinstall.ps1)
-------------------------
Looking for chocolateyinstall.ps1 in folder C:\NuGet\lib\nodejs.0.5.9
If chocolateyInstall.ps1 is found, it will be run.
-------------------------
Running powershell -NoProfile -ExecutionPolicy unrestricted -Command "& import-module -name 'C:\NuGet\chocolateyInstall
\helpers\chocolateyInstaller.psm1'; & 'C:\NuGet\lib\nodejs.0.5.9\tools\chocolateyInstall.ps1'". This may take awhile and
permissions may need to be elevated, depending on the package.
Exception calling "Start" with "1" argument(s): "The system cannot find the file specified"
At C:\NuGet\chocolateyInstall\chocolatey.ps1:33 char:43
+ $s = [System.Diagnostics.Process]::Start <<<< ($psi);
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException

You cannot call a method on a null-valued expression.
At C:\NuGet\chocolateyInstall\chocolatey.ps1:34 char:17
+ $s.WaitForExit <<<< ();
+ CategoryInfo : InvalidOperation: (WaitForExit:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull

[ERROR] Running powershell with -NoProfile -ExecutionPolicy unrestricted -Command "& import-module -name 'C:\NuGet\choc
olateyInstall\helpers\chocolateyInstaller.psm1'; & 'C:\NuGet\lib\nodejs.0.5.9\tools\chocolateyInstall.ps1'" was not succ
essful.
-------------------------
Executable Batch Links
-------------------------
Looking for executables in folder: C:\NuGet\lib\nodejs.0.5.9
Adding batch files for any executables found to a location on PATH. In other words the executable will be available from
ANY command line/powershell prompt.
-------------------------
There are no executables in the package.
-------------------------
=====================================================
Chocolatey has finished installing nodejs
=====================================================
PS C:\Users\John> cver
You have the latest version of chocolatey (0.9.8.11) based on (https://go.microsoft.com/fwlink/?LinkID=206669).

Name Value
---- -----
found 0.9.8.11
latestCompare 00000.00009.00008.00011
latest 0.9.8.11
foundCompare 00000.00009.00008.00011

PS C:\Users\John> cup all
You have the latest version of Console2 (2.0) based on (https://go.microsoft.com/fwlink/?LinkID=206669).
You have the latest version of grepwin (1.5.3) based on (https://go.microsoft.com/fwlink/?LinkID=206669).
You have the latest version of nodejs (0.5.9) based on (https://go.microsoft.com/fwlink/?LinkID=206669).
```