atom / chocolatey

chocolatey installer for Atom
MIT License
12 stars 17 forks source link

Cannot install on Win8 #18

Closed ggariepy closed 10 years ago

ggariepy commented 10 years ago

Installation failed on Windows 8 with the following error:

C:\Users\GEGA\Documents\VSM\home\vsm_win\vsm_depot_source\vsm_depot\mtp>cinst Atom Chocolatey (v0.9.8.25) is installing 'Atom' and dependencies. By installing you accept the license for 'Atom' and each dependency you are installing.

Atom v0.113.0 Using this proxyserver: proxy-ccy.houston.hp.com:8080 Downloading Atom 64 bit from 'https://github.com/atom/atom/releases/download/v0.113.0/atom-windows.zip' Using this proxyserver: proxy-ccy.houston.hp.com:8080 Extracting C:\Users\GEGA\AppData\Local\Temp\chocolatey\Atom\AtomInstall.zip to C:\ProgramData\chocolatey\lib\Atom.0.113.0\tools...

Write-Error : Atom did not finish successfully. Boo to the chocolatey gods!

[ERROR] This command cannot be run due to the error: The system cannot find the file specified.

At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:30 char:3

Write-Error : Package 'Atom v0.113.0' did not install successfully: This command cannot be run due to the error: The system cannot find the file specified. At C:\ProgramData\chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:90 char:17

The term 'true' is not recognized as the name of a cmdlet, function, script 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. Command 'install' failed (sometimes this indicates a partial failure). Additional info/packages: Atom

izuzak commented 10 years ago

@ggariepy Can you try closing and reopening your command prompt or powershell window?

assertnotnull commented 10 years ago

I had very much the same output but it installed on Windows 7 x64.

Write-Error : Atom did not finish successfully. Boo to the chocolatey gods!

[ERROR] Exception calling "Substring" with "1" argument(s): "startIndex cannot be larger than length of string .

Parameter name: startIndex"

At C:\Chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:29 char:13

Exception calling "Substring" with "1" argument(s): "startIndex cannot be larger than length of string. Parameter name: startIndex" Au niveau de C:\Chocolatey\chocolateyinstall\helpers\functions\Get-ChocolateyUnzip.ps1 : 82 Caractère : 40

ggariepy commented 10 years ago

Ok, thanks everyone. Restarting the command prompt Window must have put the right stuff into my path, it installed Atom properly. Please close the issue.

--Geoff

On Thu, Jul 10, 2014 at 9:45 AM, Patrice Gauthier notifications@github.com wrote:

I had very much the same output but it installed on Windows 7 x64. Write-Error : Atom did not finish successfully. Boo to the chocolatey gods!

[ERROR] Exception calling "Substring" with "1" argument(s): "startIndex cannot be larger than length of string . Parameter name: startIndex"

At C:\Chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:29 char:13

  • Write-Error <<<< $errorMessage
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

Exception calling "Substring" with "1" argument(s): "startIndex cannot be larger than length of string. Parameter name: startIndex" Au niveau de C:\Chocolatey\chocolateyinstall\helpers\functions\Get-ChocolateyUnzip.ps1 : 82 Caractère : 40

  • $insideZipFile=$file.path.substring <<<< ($fileIndex)
    • CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
    • FullyQualifiedErrorId : DotNetMethodException

— Reply to this email directly or view it on GitHub https://github.com/atom/chocolatey/issues/18#issuecomment-48605767.

kevinsawicki commented 10 years ago

Dupe of #13