public function getInstallPath(\Composer\Package\PackageInterface $package)
    {
        $packageType = $package->getType();

        $installDir = $this->initializeInstallDir($packageType);
        $installName = static::getInstallName($package, $this->rootPackage);
        return $installDir . '/' . $installName;
    }