feat: consolidated preinstall tasks (#392)