There is the UMIF creator, but I guess it could be improved. I firstly used that tool, but it creates UMIL manual type install file, which is not a good option, if you'll ever need to prepare upgrades, then I learnt preparing UMIL auto files afterwards. But instead of using an SQL query you should ...