I had this problem with a Mid 2010 15" MacBook Pro with no battery installed (running on external power adapter).
When installing macOS High Sierra from the USB installer, the following error pops up:
This copy of the Install macOS High Sierra.app application is damaged and can't be used to install macOS.
The problem seems to be a wrong system time, which might hinder the installer to validate the install image.