add packages for preInstall.