Major refactoring from private repo state:

Make install.cmd and update.cmd work without
zipping/unzipping and downloading Cygwin setup.