I’ve found a very interesting project recently. WPKG.
The idea is very simple: a script is executed by windows scripting host. It reads host description, defines needed package set using profiles and installs, updates or removes packages using package descriptions.

The sysadmin must do two things:

  1. install WPKG as windows service and
  2. describe hosts and prepare package definitions

Host description supports regexps, so host name ‘CAD.+’ will match any hostname beginning with ‘CAD’.
Host profiles can be nested (eg. host contains some packages from ‘general’ set, additional packages for group of hosts, say ‘cad’ and host-specific packages).
Package may be described in single file or inseparate XML files in packages/ directory.

AND: it’s a simple ECMA Script (aka JavaScript) file.