Pha I just realised I was massively overengineering the whole damned thing. I don't need to install stuff, I just needed to push the different versions of DMD into their own separate paths with a common structure for the aliases. Duh!