Handle preinstall image