wscript: parse version and define APPNAME