Fixed installer's Windows XP compatibility.

Moved the .NET DLL CustomAction to the relevant buttons instead of
before the Welcome dialog appears, so non-compatible platforms get the
proper error message instead of an error.

Also sorted and removed unused Usings.