Chocolatey package for easy install on Windows

Dear Windows user,

I know your pain... No need to add more to it :D
Here is how to install the bleeding edge AlethZero for Windows with a single command as with homebrew or apt-get using chocolatey (based on NuGet, more at

cinst -pre alethzero

And the next day, if you need the even more bleedy bleeding edge version, it goes like this to reinstall:

cinst -pre -force alethzero

More and especially about security/trust concerns at



  • MarioFortierMarioFortier Boston, MAMember Posts: 30
    Using chocolatey + your approach for first time.

    Did not handle 7z dependency in my case.



    C:\Windows\system32>cinst -pre alethzero
    The next version of Chocolatey (v0.9.9) will require -y to perform
    behaviors that change state without prompting for confirmation. Start
    using it now in your automated scripts.

    For details on the all new Chocolatey, visit
    Chocolatey (v0.9.8.33) is installing 'alethzero' and dependencies. By installing
    you accept the license for 'alethzero' and each dependency you are installing.

    AlethZero v0.8.2.3-POC8
    Let me get the latest version for you. I am copying it in your temp folder:
    Write-Error : Package 'AlethZero v0.8.2.3-POC8' did not install successfully: T
    he term '7z' 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.
    At C:\ProgramData\chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:9
    0 char:17
    + Write-Error "Package `'$installedPackageName v$installedPacka
    geV ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio

    Finished installing 'alethzero' and dependencies - if errors not shown in consol
    e, none detected. Check log for errors if unsure.


    7-Zip (A) 4.42 Copyright (c) 1999-2006 Igor Pavlov 2006-05-14
  • chevdorchevdor Member Posts: 6
    Hello Mario,

    Thanks for taking the time to report the issue. Let me ask you a few questions to understand.

    Did you start your command prompt as admin ?

    Regarding 7z, can you try installing it "manually" using chocolatey and telling whether that solves the issue? Ideally, I would ask you to report this issue on github and we can keep investigating there. I would help also users who may have the same issue.
  • chevdorchevdor Member Posts: 6
    You will now find 2 versions: stable and latest
  • knobsonkookknobsonkook Member Posts: 14
    Can u make video about installation?
  • DaveHDaveH Member Posts: 42
    I've hit the same error as Mario. Did anyone find a solution?

    I did run an administrator command prompt.

  • rslrsl Member Posts: 6
    edited May 2015
    I'm also having the same issue.May be the author look into this problem.
  • georgegeorge Member Posts: 2
    same issue, cinst 7z choco install seems to work... however does not seem to unpack at aleth0 cinst. it cant find 7z to unpack
  • carloscarlsoncarloscarlson Member Posts: 10
    same issue here
  • Maren85Maren85 Member Posts: 41
    The reason your all coming up with the 7z error is because you have to install the 7z tool addon in choc from here

  • carloscarlsoncarloscarlson Member Posts: 10
    Nope, still having the same issue
  • NehemiahNehemiah Member Posts: 1
    @Chevdor I am having a different error during choclatey install. Any help would be greatly appreciated. Please see cmd line output below:
    C:\>choco install alethzero-stable -pre
    Chocolatey v0.9.9.6
    Installing the following packages:
    By installing you accept licenses for the packages.
    AlethZero-Stable v0.8.2.3-POC8
    The package AlethZero-Stable wants to run 'chocolateyInstall.ps1'.
    Note: If you don't run this script, the installation will fail.
    Note: To confirm automatically next time, use '-y' or consider setting
     'allowGlobalConfirmation'. Run 'choco feature -h' for more details.
    Do you want to run the script?
     1) yes
     2) no
     3) print
     <b class="Bold">Bad numeric constant: 7.
     At C:\ProgramData\chocolatey\lib\AlethZero-Stable\tools\chocolateyInstall.ps1:1
     3 char:2
     + 7 <<<< z x -aoa -y -o"$env:ProgramFiles\$packageName\" "$destination"
         + CategoryInfo          : ParserError: (7:String) [], ParseException
         + FullyQualifiedErrorId : BadNumericConstant
    The install of alethzero-stable was NOT successful.
    Error while running 'C:\ProgramData\chocolatey\lib\AlethZero-Stable\tools\chocol
     See log for details.
    Chocolatey installed 0/1 package(s). 1 package(s) failed.
     See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
     - alethzero-stable
  • o0ragman0oo0ragman0o Member, Moderator Posts: 1,285 mod
    Having the same 'Bad numeric constant: 7.' error as above.
  • en3r0en3r0 Member Posts: 1
    Same 'Bad numeric constant: 7.' error as above. Windows 7 x64
  • o0ragman0oo0ragman0o Member, Moderator Posts: 1,285 mod
    I think I got that one sorted by putting 7-Zip in the path. But I still haven't been able to download it through choco... Seems the package is not being maintained. What's listed in choco is only geth 0.9.28.
    C:\Windows\system32>choco install geth-stable
    Chocolatey v0.9.9.5
    Installing the following packages:
    By installing you accept licenses for the packages.
    geth-stable not installed. The package was not found with the source(s) listed.
    If you specified a particular version and are receiving this message, it is possible that the package name exists but t
    he version does not.
    Version: ""
    Source(s): ""

    Chocolatey installed 0/1 package(s). 1 package(s) failed.
    See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
    - geth-stable
  • jkriegerjkrieger Member Posts: 1
    Are there 32 bit version of AlethZero?
Sign In or Register to comment.