Skip to content

Instantly share code, notes, and snippets.

@rofr
Created March 20, 2014 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rofr/9666089 to your computer and use it in GitHub Desktop.
Save rofr/9666089 to your computer and use it in GitHub Desktop.
Can't install chocolatey...
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>@powershell -NoProfile -ExecutionPolicy Unrestricted -Co
mand "iex ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/in
tall.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2014-03-20 16:11 chocInstall
Downloading http://chocolatey.org/api/v2/package/chocolatey/ to C:\Users\ADMINI
1\AppData\Local\Temp\2\chocolatey\chocInstall\chocolatey.zip
Download 7Zip commandline tool
Downloading https://github.com/chocolatey/chocolatey/blob/master/src/tools/7za.
xe?raw=true to C:\Users\ADMINI~1\AppData\Local\Temp\2\chocolatey\chocInstall\7z
.exe
Exception calling "DownloadFile" with "2" argument(s): "The operation has timed
out"
At line:33 char:27
+ $downloader.DownloadFile <<<< ($url, $file)
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
Extracting C:\Users\ADMINI~1\AppData\Local\Temp\2\chocolatey\chocInstall\chocol
tey.zip to C:\Users\ADMINI~1\AppData\Local\Temp\2\chocolatey\chocInstall...
Start-Process : This command cannot be executed due to the error: The system ca
nnot find the file specified.
At line:47 char:14
+ Start-Process <<<< "$7zaExe" -ArgumentList "x -o`"$tempDir`" -y `"$file`"" -
Wait
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOp
erationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.C
ommands.StartProcessCommand
Installing chocolatey on this machine
The term 'C:\Users\ADMINI~1\AppData\Local\Temp\2\chocolatey\chocInstall\tools\c
hocolateyInstall.ps1' is not recognized as the name of a cmdlet, function, scri
pt file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:58 char:2
+ & <<<< $chocInstallPS1
+ CategoryInfo : ObjectNotFound: (C:\Users\ADMINI...ateyInstall.p
s1:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Ensuring chocolatey commands are on the path
C:\Users\Administrator>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment