Some systems (esp. Linux) have the noexec option set on /tmp. This stops you executing any files from /tmp for security reasons.
The nsh-install-defaults file does have to reside in /tmp, but you should put the installer into /var/tmp or other location.
This combination does work.