Created
March 20, 2014 15:16
-
-
Save rofr/9666089 to your computer and use it in GitHub Desktop.
Can't install chocolatey...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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