depreciate the use of InstallPackage