allow installation exception to be caught in InstallCommand
Merge pull request #796 from adamralph/794

Fix for #794 - failed installation yields exit code 1