Use installPackage for register --inplace as well as installing