installer: Add TARGETNOINSTALL variable

Tells the target file if it will be installed or not, instead of
repeating the same test over and over again.
installer: Allow host-bin restoration only.