maybe I just don't remember batch scripting, but it appears at first glance you are assuminganything GTR 2 parameters after cinst (aka install)  are both package names.  in that use case it works, and nicely I might add.

in the case of cinst putty -Version 0.62.0.1,  this logic appears flawed based on my screen paste, since it is trying to batch install a package named "-version"