[Installer] Call the specification hooks per each target definition

Closes #985