Merge "Fully implement "install" and "install-write" in PackageManagerShellCommand."