chocolatey/chocolatey — Issue #27: Cannot 'cinst' windowpad: "Version string portion was too short or too long."
Author: AnthonyMastrean
Created: 2011-11-20 20:50:22+00:00
State: open

The [windowpad][4] package is a simple download zip and create shortcut script. It has a dependency on autohotkey, which I've done [before][1]. It has a two segment version (`1.60`), which I've done [before][2]. When I try to [debug][3] the package, I get some goofy message

PS> cinst windowpad -source "$pwd"
=====================================================
Chocolatey (0.9.8.12) is installing windowpad (from D:\Users\Anthony) to "C:\Users\Anthon
y Mastrean\AppData\Roaming\Chocolatey\lib"
=====================================================
Package License Acceptance Terms
-------------------------
Please run chocolatey /? for full license acceptance verbage. By installing you accept th
e license for the package you are installing...
-------------------------
-------------------------
NuGet
-------------------------

Version string portion was too short or too long.
=====================================================
Chocolatey has finished installing windowpad
=====================================================
I tried messing with the autohotkey dependency version number (which I know isn't necessary) and it didn't help. I used NuGet directly and was able to unpack the nupkg (obviously, it didn't run the `chocolateyInstall`). I put the `autohotkey` dependency in the same source directory.

PS> nuget install windowpad -source "$pwd"

[1]: http://chocolatey.org/packages/testnamingmode
[2]: http://chocolatey.org/packages/resourcesextract
[3]: https://github.com/AnthonyMastrean/nugetpackages/blob/master/Debug-Package.ps1
[4]: https://github.com/AnthonyMastrean/nugetpackages/tree/windowpad/windowpad