installer/main.sh: Add TARGETNOINSTALL variable

Tell the target file if it will be installed, or not, instead
of repeating the same test over and over again.