add data-dir to InstalledPackageInfo