Sven has already written a utility to create upgrade files.