WiX already supports creating multiple MSIs when using .wxl files via MSBuild. Instead of running this executable after all the MSIs are created, consider creating and implementing a WiX Improvement Proposal to build this functionality into WiX itself.