On Tuesday, 26 April 2016 at 23:33:08 UTC, Stefan Koch wrote:
static if (win32msi >= 500) .....
Won't work here because static if must have a complete declaration inside it, and the C pattern only has a few elements of the whole inside each #if.
D doesn't handle this C pattern well... you basically have to rewrite the whole thing for each version.
Personally, I just decide to support all of them and say the older versions with less declarations are less supported...