Multi-install support

Let @pjf merge this, it's been his life the last few days.