Never mind, I was being stupid. It turns out I'd disabled 'mergeMods' while tracking down an earlier issue and forgotten about it. Re-enabling it solved the problem and removed the need for a custom installer entirely. Way to overcomplicate things, me.