When to Buy a Packaged Solution and When to Build your Own