http://bugs.winehq.org/show_bug.cgi?id=15419
--- Comment #41 from Ken Sharp kennybobs@o2.co.uk 2009-05-29 12:58:21 --- Assuming the Wine versions are entered into the DB, then the code you've found there should be the actual process that does it.
If so, does anyone know PHP?