NSIS script improved: removed path variable usage, now registry instead

untested