Relocate pre-install hook